Ask or search…
Comment on page

Editable blocks

Some blocks might be static or only generated from link unfurling, but most blocks are designed to be editable by the user. Editable means that the user can interact with the blocks to change its properties.
Updating the properties of a block is done through a @editor.node.updateProps action:
<textinput state="content" />
action: '@editor.node.updateProps',
props: {
content: element.dynamicState('content')
Last modified 1yr ago