Preserve scroll position in codemirror #731

pull/1/head
yflory 4 years ago
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…
Cancel
Save