Skip to content

Glossary

Matt Carroll edited this page Oct 20, 2021 · 2 revisions

Super Editor introduces a number of concepts and relationships that are specific to the package. They are defined here.

  • SuperEditor: The code term SuperEditor refers to the widget that displays a document editing experience. This includes gesture interaction, keyboard movement, and document manipulation.
  • Editor: The API responsible for altering a document's content, independent of UI.
  • Document: The API responsible for querying and otherwise accessing document content. A document is comprised of a list of DocumentNodes.
  • DocumentNode: A piece of content within a Document, e.g., TextNode, ListItemNode, ImageNode.
  • DocumentLayout: A widget that renders an entire document.
  • DocumentComponent: A widget that renders a piece of content within a DocumentLayout, e.g., TextComponent, ListItemComponent. Each type of DocumentNode must associate with a type of DocumentComponent so that the DocumentNode's content appears visually within the DocumentLayout.