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",