# Block
# Properties
labelString (opens new window) Block label, eg.My blockcontent(String (opens new window) | Object (opens new window)) The content of the block. Might be an HTML string or a Component DefinitionmediaString (opens new window)? HTML string for the media/icon of the block, eg.<svg ...,<img ..., etc.categoryString (opens new window)? Block category, eg.Basic blocksactivateBoolean (opens new window)? If true, triggers theactiveevent on the dropped component.selectBoolean (opens new window)? If true, the dropped component will be selected.resetIdBoolean (opens new window)? If true, all IDs of dropped components and their styles will be changed.disableBoolean (opens new window)? Disable the block from being interactedonClickFunction (opens new window)? Custom behavior on click, eg.(block, editor) => editor.getWrapper().append(block.get('content'))attributesObject (opens new window)? Block attributes to apply in the view element
# getId
Get block id
Returns String (opens new window)
# getLabel
Get block label
Returns String (opens new window)
# getMedia
Get block media
Returns String (opens new window)
# getContent
Get block content
Returns (Object (opens new window) | String (opens new window) | Array (opens new window)<(Object (opens new window) | String (opens new window))>)
# getDragDef
Get block component dragDef
Returns ComponentDefinition
# getCategoryLabel
Get block category label
Returns String (opens new window)