Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EditorState

An interface that captures shared things that editor state needs to keep. This contains a reference to the block (for which the editor was created) and the unique block ID passed to the editor during initialization.

Hierarchy

  • EditorState

Index

Properties

Properties

block

block: Block

The block for which this editor was created

id

id: number

Unique ID of the block. This can be used to create unique Virutal DOM IDs during rendering

Generated using TypeDoc