mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user