You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.