Appearance
Type Editor
Type Editor / @type-editor/menu / menu-items/util/wrap-item
wrapItem
Build a menu item for wrapping the selection in a given node type. Adds run and select properties to the ones present in options. options.attrs may be an object that provides attributes for the wrapping node.
run
select
options
options.attrs