I
BlockBehavior
testedOptional block-specific behaviors used by core commands.
Signature
ts
interface BlockBehaviorProperties
| Property | Type | Description |
|---|---|---|
empty?readonly | (() => Content) | undefined | Content for a fresh empty block of this type (defaults to empty inline). |
toText?readonly | ((node: Node) => string) | undefined | Plain-text extraction (defaults to inline text). |