mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user