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.
<block>
<textinput state="content" />
<button
label="Edit"
onPress={{
action: '@editor.node.updateProps',
props: {
content: element.dynamicState('content')
}
}}
/>
</block>
Last modified 1yr ago