diff --git a/editor/ui/composer/content/editor.js b/editor/ui/composer/content/editor.js index 6c2e76619b8..87f9903f963 100644 --- a/editor/ui/composer/content/editor.js +++ b/editor/ui/composer/content/editor.js @@ -1583,10 +1583,6 @@ function SetEditMode(mode) if (gEditor.document.title != title) SetDocumentTitle(title); - // reset selection to top of doc (wish we could preserve it!) - if (bodyNode) - gEditor.selection.collapse(bodyNode, 0); - } catch (ex) { dump(ex); }