feat(math/display): allow inserting in display in a list

This commit is contained in:
Elian Doran 2025-03-15 01:07:32 +02:00
parent 578eb46814
commit 6231df7f0e
No known key found for this signature in database

View File

@ -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' ]
} );
}