R
I

BlockComponentProps

tested

Props passed to an atom/void block's Vue `component`.

Signature

ts
interface BlockComponentProps

Properties

PropertyTypeDescription
nodeNodeThe block's model node (read its `attrs`).
selectedbooleanWhether the block is currently node-selected.
editablebooleanEditor-level editable flag.
update(attrs: Attrs) => voidMerge new attrs into the block (e.g. image src/caption).