Skip to content

Type Editor


Type Editor / @type-editor/menu / menu-items/util/block-type-item

menu-items/util/block-type-item

Functions

FunctionDescription

blockTypeItem

Build a menu item for changing the type of the textblock around the selection to the given type. Provides run, active, and select properties. Others must be given in options. options.attrs may be an object to provide the attributes for the textblock node.