Preserve scroll position in codemirror #731

pull/1/head
yflory 2021-06-09 14:40:24 +02:00
parent ec34d90f5f
commit 8af4a1d486
1 changed files with 2 additions and 0 deletions

View File

@ -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) {