BlockType

12 Sep 20251 minute to read

Enum representing the different block types available in the block editor component.
Each block type corresponds to a specific content format that can be used to create structured documents.

  • BulletList - Represents a bullet list block.
    This block type is used for unordered lists.
  • Callout - Represents a callout block.
    This block type is used to highlight important information or warnings.
  • Checklist - Represents a checklist block.
    This block type is used for creating interactive to-do lists.
  • Code - Represents a code block.
    This block type is used to display formatted code with syntax highlighting.
  • CollapsibleHeading - Represents a collapsible heading 1 block.
    This block type is used to display top-level headings that can be expanded or collapsed.
  • CollapsibleParagraph - Represents a collapsible paragraph block.
    This block type is used to display paragraphs that can be expanded or collapsed.
  • Divider - Represents a divider block.
    This block type is used to insert horizontal dividers to separate sections of content.
  • Heading - Represents a heading block.
    This block type is used for headings such as level 1, 2, 3 or 4.
  • Image - Represents an image block.
    This block type is used to display images.
  • NumberedList - Represents a numbered list block.
    This block type is used for ordered lists.
  • Paragraph - Represents a text block.
    This block type is used for plain text content.
  • Quote - Represents a quote block.
    This block type is used to display quotations or excerpts from a text.
  • Template - Represents a template block.
    This block type is used for predefined templates.