An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Open the editor after converting to a math block https://github.com/siyuan-note/siyuan/issues/14744
Danield626bd6083f0
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.tsindex d1bae15ae1..455ee812c5 100644--- a/app/src/protyle/wysiwyg/transaction.ts+++ b/app/src/protyle/wysiwyg/transaction.ts@@ -2143,7 +2143,11 @@ export const turnEmptyParagraphsIntoTransaction = (options: {processRender(options.protyle.wysiwyg.element);highlightRender(options.protyle.wysiwyg.element);blockRender(options.protyle, options.protyle.wysiwyg.element);- focusBlock(newElements[0]);+ if (options.type === "math") {+ options.protyle.toolbar.showRender(options.protyle, newElements[0]);+ } else {+ focusBlock(newElements[0]);+ }hideElements(["gutter"], options.protyle);};