Function: headingsPlugin()
headingsPlugin(
params
?):RealmPlugin
A plugin that adds support for markdown headings.
Parameters
Parameter | Type | Description |
---|---|---|
params ? | object | - |
params.allowedHeadingLevels ? | readonly HEADING_LEVEL [] | Allows you to limit the headings used in the editor. Affects the block type dropdown and the keyboard shortcuts.Default[1, 2, 3, 4, 5, 6] |