diff --git a/src/mathediting.ts b/src/mathediting.ts index 2958ad789..83a87e1ab 100644 --- a/src/mathediting.ts +++ b/src/mathediting.ts @@ -58,9 +58,7 @@ export default class MathEditing extends Plugin { } ); schema.register( 'mathtex-display', { - allowWhere: '$block', - isInline: false, - isObject: true, + inheritAllFrom: '$blockObject', allowAttributes: [ 'equation', 'type', 'display' ] } ); }