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`. | Poll | optional | |||||||||
| 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 | ||||||||||
other fields: | |||||||||||
Powered by Seed HypermediaOpen App