An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/14720
Vanessa70d615d66a04
diff --git a/app/src/protyle/wysiwyg/enter.ts b/app/src/protyle/wysiwyg/enter.tsindex 69b59a232e..b0d2a2e383 100644--- a/app/src/protyle/wysiwyg/enter.ts+++ b/app/src/protyle/wysiwyg/enter.ts@@ -35,16 +35,6 @@ export const enter = (blockElement: HTMLElement, range: Range, protyle: IProtyleif (disableElement ||// https://github.com/siyuan-note/siyuan/issues/10633blockElement.classList.contains("table")) {- if (blockElement.parentElement.classList.contains("li")) {- const oldHTML = blockElement.parentElement.parentElement.outerHTML;- const newElement = genListItemElement(blockElement.parentElement, 0, true);- blockElement.parentElement.insertAdjacentElement("afterend", newElement);- updateTransaction(protyle, blockElement.parentElement.parentElement.getAttribute("data-node-id"), blockElement.parentElement.parentElement.outerHTML, oldHTML);- focusByWbr(newElement, range);- removeEmptyNode(newElement);- scrollCenter(protyle);- return;- }if (blockElement.classList.contains("hr")) {insertEmptyBlock(protyle, "afterend");return;