The command bundle @trevixal/ui is handed so its Insert menu and equation dialog can drive math without importing this package (see tableUICommands): createEditorUI(editor, { mathCommands: mathUICommands() }).
@trevixal/ui
tableUICommands
createEditorUI(editor, { mathCommands: mathUICommands() })
Readonly
Inline formula at the caret; a selected run of text becomes the source.
Display formula as its own block, replacing an empty paragraph.
Apply edited source to the formula at the selection.
The command bundle
@trevixal/uiis handed so its Insert menu and equation dialog can drive math without importing this package (seetableUICommands):createEditorUI(editor, { mathCommands: mathUICommands() }).