mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 15:56:29 +01:00
feat(math/display): allow inserting in display in a list
This commit is contained in:
@@ -58,9 +58,7 @@ export default class MathEditing extends Plugin {
|
|||||||
} );
|
} );
|
||||||
|
|
||||||
schema.register( 'mathtex-display', {
|
schema.register( 'mathtex-display', {
|
||||||
allowWhere: '$block',
|
inheritAllFrom: '$blockObject',
|
||||||
isInline: false,
|
|
||||||
isObject: true,
|
|
||||||
allowAttributes: [ 'equation', 'type', 'display' ]
|
allowAttributes: [ 'equation', 'type', 'display' ]
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user