mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 12:58:48 +01:00
This commit is contained in:
parent
3b40e6b36b
commit
c022264a59
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,
|
|||
}
|
||||
const tempElement = document.createElement("template");
|
||||
|
||||
// https://github.com/siyuan-note/siyuan/issues/14162 & https://github.com/siyuan-note/siyuan/issues/14162
|
||||
// https://github.com/siyuan-note/siyuan/issues/14162 & https://github.com/siyuan-note/siyuan/issues/14965
|
||||
if (/^\s*>|\*|-|\+|\d*.|\[ \]|[x]/.test(html) &&
|
||||
editableElement.textContent.replace(Constants.ZWSP, "") !== "") {
|
||||
unSpinHTML = html;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue