mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -1741,7 +1741,7 @@ export class WYSIWYG {
|
||||
}
|
||||
const range = getSelection().getRangeAt(0);
|
||||
if (this.element === range.startContainer || this.element.contains(range.startContainer)) {
|
||||
protyle.toolbar.range = range;
|
||||
protyle.toolbar.range = range.cloneRange();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user