Preserve scroll position in codemirror #731
parent
ec34d90f5f
commit
8af4a1d486
|
@ -73,6 +73,8 @@ define([
|
|||
else {
|
||||
editor.setSelection(posToCursor(selects[0], remoteDoc), posToCursor(selects[1], remoteDoc));
|
||||
}
|
||||
|
||||
editor.scrollTo(scroll.left, scroll.top);
|
||||
};
|
||||
|
||||
module.handleImagePaste = function (editor) {
|
||||
|
|
Loading…
Reference in New Issue