Skip to content

Build your personal knowledge base with Trilium Notes

feat(math): support font size adjustment (closes #7172)

Elian Doran5f38d52f2012
diff --git a/packages/ckeditor5-math/src/mathediting.ts b/packages/ckeditor5-math/src/mathediting.ts
index bd026829cb..166b209e40 100644
--- a/packages/ckeditor5-math/src/mathediting.ts
+++ b/packages/ckeditor5-math/src/mathediting.ts
@@ -59,7 +59,7 @@ export default class MathEditing extends Plugin {
allowWhere: '$text',
isInline: true,
isObject: true,
- allowAttributes: [ 'equation', 'type', 'display' ]
+ allowAttributes: [ 'equation', 'type', 'display', 'fontSize' ]
} );
schema.register( 'mathtex-display', {