This commit is contained in:
Vanessa 2023-11-29 22:55:53 +08:00
parent de9a686a7c
commit 6290c585e2

View file

@ -2121,6 +2121,8 @@ export class WYSIWYG {
protyle.toolbar.render(protyle, newRange);
} else {
hideElements(["toolbar"], protyle);
// https://github.com/siyuan-note/siyuan/issues/9785
protyle.toolbar.range = newRange;
}
/// #endif
if (!protyle.wysiwyg.element.querySelector(".protyle-wysiwyg--select")) {