A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: math-display -> math-block
thecodrr3c78a35ade9f
diff --git a/packages/editor/src/extensions/math/math-block.ts b/packages/editor/src/extensions/math/math-block.tsindex 288a03d28..44f18cdd3 100644--- a/packages/editor/src/extensions/math/math-block.ts+++ b/packages/editor/src/extensions/math/math-block.ts@@ -24,7 +24,7 @@ export const MathBlock = Node.create({parseHTML() {return [{- tag: `div[class*='math-display']`, // important!+ tag: `div[class*='math-block']`, // important!},];},@@ -32,7 +32,7 @@ export const MathBlock = Node.create({renderHTML({ HTMLAttributes }) {return ["div",- mergeAttributes({ class: "math-display math-node" }, HTMLAttributes),+ mergeAttributes({ class: "math-block math-node" }, HTMLAttributes),0,];},