Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Fix offline math rendering by bundling local fonts
Meinzzzzd2391f94c076
diff --git a/packages/ckeditor5-math/src/ui/mathinputview.ts b/packages/ckeditor5-math/src/ui/mathinputview.tsindex 65bf31bba9..a3b93f3e17 100644--- a/packages/ckeditor5-math/src/ui/mathinputview.ts+++ b/packages/ckeditor5-math/src/ui/mathinputview.ts@@ -1,6 +1,7 @@// Math input widget: wraps a MathLive <math-field> and a LaTeX textarea// and keeps them in sync for the CKEditor 5 math dialog.import { View, type Locale, type FocusableView } from 'ckeditor5';+import 'mathlive/fonts.css'; // Auto-bundles offline fontsdeclare global {interface Window {