-
Notifications
You must be signed in to change notification settings - Fork 250
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 termSuperEditor
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 ofDocumentNode
s. -
DocumentNode
: A piece of content within aDocument
, e.g.,TextNode
,ListItemNode
,ImageNode
. -
DocumentLayout
: A widget that renders an entire document. -
DocumentComponent
: A widget that renders a piece of content within aDocumentLayout
, e.g.,TextComponent
,ListItemComponent
. Each type ofDocumentNode
must associate with a type ofDocumentComponent
so that theDocumentNode
's content appears visually within theDocumentLayout
.