Vanessa 2025-06-05 18:27:41 +08:00
parent 3b40e6b36b
commit c022264a59

View file

@ -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;