mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-16 21:55:29 +01:00
This commit is contained in:
parent
b7ee623b1d
commit
b973fed06b
1 changed files with 1 additions and 1 deletions
|
|
@ -692,7 +692,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
|
|||
if (getContenteditableElement(rangeBlockElement)) {
|
||||
range.insertNode(document.createElement("wbr"));
|
||||
} else {
|
||||
getContenteditableElement(updateElements[0]).insertAdjacentHTML("afterbegin", "<wbr>");
|
||||
getContenteditableElement(updateElements[0])?.insertAdjacentHTML("afterbegin", "<wbr>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue