Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/10751

Vanessac2374f70faf0
diff --git a/app/src/protyle/wysiwyg/enter.ts b/app/src/protyle/wysiwyg/enter.ts
index c64d5d169e..a33fabaeac 100644
--- a/app/src/protyle/wysiwyg/enter.ts
+++ b/app/src/protyle/wysiwyg/enter.ts
@@ -233,7 +233,7 @@ export const enter = (blockElement: HTMLElement, range: Range, protyle: IProtyle
data: html,
id,
});
- mathRender(editableElement);
+ mathRender(blockElement);
} else {
doOperation.push({
action: "insert",