Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/16208

Vanessa22a56c2bcf0b
diff --git a/app/src/protyle/wysiwyg/turnIntoList.ts b/app/src/protyle/wysiwyg/turnIntoList.ts
index 4bf58e6d60..3299f77648 100644
--- a/app/src/protyle/wysiwyg/turnIntoList.ts
+++ b/app/src/protyle/wysiwyg/turnIntoList.ts
@@ -18,6 +18,7 @@ export const turnIntoTaskList = (protyle: IProtyle, type: string, blockElement:
} else if (contextStartIndex > 0 && contextStar2tIndex > 0) {
contextStartIndex = Math.min(contextStartIndex, contextStar2tIndex);
}
+ editElement.removeAttribute("placeholder");
const isDone = editElement.innerHTML.substring(1, 2).toLowerCase() === "x";
if (blockElement.parentElement.classList.contains("li") &&
blockElement.parentElement.childElementCount === 3 // https://ld246.com/article/1659315815506