Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: fix some math glyps not rendering correctly (#6762)

Muhammad Ali3750dd38dc87
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index b80380855..9bd7300dc 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -2,6 +2,10 @@
font-family: inherit;
}
+.ProseMirror span.math-inline {
+ font-family: KaTeX_Main, Times New Roman, serif;
+}
+
.ProseMirror {
font-family: inherit;
}