mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-17 16:51:57 +08:00
feat(math/display): allow inserting in display in a list
This commit is contained in:
parent
578eb46814
commit
6231df7f0e
@ -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' ]
|
||||
} );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user