mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-25 09:46:10 +01:00
This commit is contained in:
parent
5e62985001
commit
055fd63450
1 changed files with 1 additions and 0 deletions
|
|
@ -331,6 +331,7 @@ export class WYSIWYG {
|
|||
headElement.before(emptyElement);
|
||||
}
|
||||
transaction(protyle, doOperations, undoOperations);
|
||||
focusSideBlock(headElement);
|
||||
tempElement.append(headElement);
|
||||
} else if (range.toString() !== "" && startContainer.isSameNode(range.endContainer) && range.startContainer.nodeType === 3
|
||||
&& range.endOffset === range.endContainer.textContent.length && range.startOffset === 0 &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue