/ Blockeditor / BlockType
Search results

BlockType API in JavaScript (ES5) Blockeditor API control

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.
  • Divider - Represents a divider block. This block type is used to insert horizontal dividers to separate sections of content.
  • Heading1 - Represents a heading block. This block type is used for headings (H1).
  • Heading2 - Represents a heading block. This block type is used for headings (H2).
  • Heading3 - Represents a heading block. This block type is used for headings (H3).
  • Heading4 - Represents a heading block. This block type is used for headings (H4).
  • 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.
  • Table - Represents a table block. This block type is used to display data in a tabular format.
  • Template - Represents a template block. This block type is used for predefined templates.
  • ToggleHeading1 - Represents a toggle heading 1 block. This block type is used to display top-level headings that can be expanded or collapsed.
  • ToggleHeading2 - Represents a toggle heading 2 block. This block type is used to display second-level headings that can be expanded or collapsed.
  • ToggleHeading3 - Represents a toggle heading 3 block. This block type is used to display third-level headings that can be expanded or collapsed.
  • ToggleHeading4 - Represents a toggle heading 4 block. This block type is used to display fourth-level headings that can be expanded or collapsed.
  • ToggleParagraph - Represents a toggle paragraph block. This block type is used to display paragraphs that can be expanded or collapsed.