mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-19 02:10:04 +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', {
|
schema.register( 'mathtex-display', {
|
||||||
allowWhere: '$block',
|
inheritAllFrom: '$blockObject',
|
||||||
isInline: false,
|
|
||||||
isObject: true,
|
|
||||||
allowAttributes: [ 'equation', 'type', 'display' ]
|
allowAttributes: [ 'equation', 'type', 'display' ]
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user