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

This commit is contained in:
Elian Doran 2025-10-02 18:13:47 +03:00
parent edcdecb720
commit 5f38d52f20
No known key found for this signature in database

View File

@ -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', {