Function: headingsPlugin

headingsPlugin(params?): RealmPlugin

A plugin that adds support for markdown headings.

Parameters

NameTypeDescription
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 ts [1, 2, 3, 4, 5, 6]

Returns

RealmPlugin