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/17800
Vanessaac39fed95fda
diff --git a/app/src/protyle/wysiwyg/list.ts b/app/src/protyle/wysiwyg/list.tsindex ff0472116c..236dd34341 100644--- a/app/src/protyle/wysiwyg/list.ts+++ b/app/src/protyle/wysiwyg/list.ts@@ -432,7 +432,7 @@ export const breakList = (protyle: IProtyle, blockElement: Element, range: Range};/**- * 缩进列表+ * 反向缩进列表* @param protyle* @param liItemElements* @param range@@ -459,6 +459,10 @@ export const listOutdent = (protyle: IProtyle, liItemElements: Element[], range:}const parentLiItemElement = getParentBlock(liElement);const parentParentElement = parentLiItemElement.parentElement;+ if (parentLiItemElement.classList.contains("protyle-wysiwyg__embed") ||+ parentParentElement.classList.contains("protyle-wysiwyg__embed")) {+ return;+ }if (liElement.previousElementSibling?.classList.contains("protyle-action") && !parentParentElement.getAttribute("data-node-id")) {// https://ld246.com/article/1691981936960 情况下 zoom in 列表项return;