Skip to content

Commit d2391f9

Browse files
committed
Fix offline math rendering by bundling local fonts
1 parent 050ddb8 commit d2391f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ckeditor5-math/src/ui/mathinputview.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Math input widget: wraps a MathLive <math-field> and a LaTeX textarea
22
// and keeps them in sync for the CKEditor 5 math dialog.
33
import { View, type Locale, type FocusableView } from 'ckeditor5';
4+
import 'mathlive/fonts.css'; // Auto-bundles offline fonts
45

56
declare global {
67
interface Window {

0 commit comments

Comments
 (0)