mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 06:30:14 +01:00
This commit is contained in:
parent
eae97412b2
commit
1d3bf74d08
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ const switchEditor = (editor: Editor, options: IOpenFileOptions, allModels: IMod
|
|||
}
|
||||
}
|
||||
}
|
||||
pushBack(editor.editor.protyle, undefined, nodeElement || editor.editor.protyle.wysiwyg.element.firstElementChild);
|
||||
pushBack(editor.editor.protyle, editor.editor.protyle.toolbar.range);
|
||||
}
|
||||
if (options.mode) {
|
||||
setEditMode(editor.editor.protyle, options.mode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue