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