mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
This commit is contained in:
parent
bf3af5803e
commit
bf3a6385ee
1 changed files with 3 additions and 0 deletions
|
|
@ -166,6 +166,9 @@ export class Gutter {
|
|||
window.siyuan.menus.menu.element.classList.remove("fn__none");
|
||||
setPosition(window.siyuan.menus.menu.element, event.clientX - window.siyuan.menus.menu.element.clientWidth - 16, event.clientY - 16);
|
||||
// https://ld246.com/article/1648433751993
|
||||
if (!protyle.toolbar.range) {
|
||||
protyle.toolbar.range = getEditorRange(protyle.wysiwyg.element.firstElementChild);
|
||||
}
|
||||
focusByRange(protyle.toolbar.range);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue