A glossary explaining the terms commonly used in Slate:
A "character" is the smallest element that makes up a text node in Slate.
The "document" is the top-level "node" that contains all other nodes that make up the content of the Slate editor.
Keys are unique identifiers given to nodes in Slate to be able to reference them uniquely even as the document changes.
An offset is a distance from the start of a text node, measured in "characters".
A point represents a specific location in a document, where a user's cursor could be placed. It is represented by the
key of the node in the document, and the
offset of characters into a node.
To "unwrap" is the opposite of to "wrap", removing a surrounding node from a selection.
To "wrap" is to surround a piece of text or a node in another node. For example, if you select the text