Example: Poll Block (Custom)
An example third-party block type: a poll with a question and options. It extends the shared block base, exactly like a core block.
name
Example: Poll Block (Custom)
summary
An example third-party block type: a poll with a question and options. It extends the shared block base, exactly like a core block.
Schema definitionThe schema this document defines, for other documents to use.

Extends

type
Block type literal `Poll`.
Polloptional
question
The question the poll asks.
options
The answer choices, in display order.
of
attributes
Block attributes: layout keys plus poll settings such as `multiple`; other keys are allowed.
optional
childrenType
How the block's children are laid out, such as `Ordered` or `Grid`.
optional
columnCount
Number of columns when `childrenType` is `Grid`.
optional
multiple
Whether a voter may choose more than one option.
optional

other fields: