Add cursor in slide
This commit is contained in:
parent
f157f852b1
commit
690cba2b8f
@ -471,6 +471,13 @@ define([
|
|||||||
return content;
|
return content;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
framework.onCursorUpdate(CodeMirror.setRemoteCursor);
|
||||||
|
framework.setCursorGetter(CodeMirror.getCursor);
|
||||||
|
editor.on('cursorActivity', function () {
|
||||||
|
if (editor._noCursorUpdate) { return; }
|
||||||
|
framework.updateCursor();
|
||||||
|
});
|
||||||
|
|
||||||
framework.onEditableChange(function () {
|
framework.onEditableChange(function () {
|
||||||
editor.setOption('readOnly', framework.isLocked() || framework.isReadOnly());
|
editor.setOption('readOnly', framework.isLocked() || framework.isReadOnly());
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user