mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 22:08:48 +01:00
This commit is contained in:
parent
0ad84c1e71
commit
3e8585394d
1 changed files with 1 additions and 0 deletions
|
|
@ -248,6 +248,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,
|
|||
range.insertNode(tempElement.content.cloneNode(true));
|
||||
range.collapse(false);
|
||||
blockElement.querySelector("wbr")?.remove();
|
||||
protyle.wysiwyg.lastHTMLs[id] = oldHTML;
|
||||
input(protyle, blockElement as HTMLElement, range);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue