From c2374f70faf0107667a449c5d3b1da3fab473a52 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 26 Mar 2024 22:26:26 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/10751 --- app/src/protyle/wysiwyg/enter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/enter.ts b/app/src/protyle/wysiwyg/enter.ts index c64d5d169..a33fabaea 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",