Fix out of sync when deleting on same cursor position on several clients
from: https://github.com/aullman/opentok-editor/issues/4
This commit is contained in:
parent
0aaa598130
commit
0bea4da623
2 changed files with 4 additions and 2 deletions
2
public/vendor/ot/codemirror-adapter.js
vendored
2
public/vendor/ot/codemirror-adapter.js
vendored
|
@ -343,7 +343,9 @@ ot.CodeMirrorAdapter = (function (global) {
|
|||
};
|
||||
|
||||
CodeMirrorAdapter.prototype.applyOperation = function (operation) {
|
||||
if (!operation.isNoop()) {
|
||||
this.ignoreNextChange = true;
|
||||
}
|
||||
CodeMirrorAdapter.applyOperationToCodeMirror(operation, this.cm);
|
||||
};
|
||||
|
||||
|
|
2
public/vendor/ot/ot.min.js
vendored
2
public/vendor/ot/ot.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue