Skip to content

Type Editor


Type Editor / @type-editor/menu / menu-items/image-item

menu-items/image-item

Functions

FunctionDescription

imageItem

Creates a menu item for inserting and editing images in the editor.

This menu item provides functionality to:

  • Insert new images via file picker or drag-and-drop
  • Edit existing image properties (caption, size, text flow)
  • Handle conversion between paragraph and figure nodes based on caption presence