📉
slate
  • Introduction
  • Walkthroughs
    • Installing Slate
    • Adding Event Handlers
    • Defining Custom Block Nodes
    • Applying Custom Formatting
    • Using Plugins
    • Saving to a Database
    • Saving and Loading HTML Content
  • Guides
    • Changes
    • Data Model
    • Plugins
    • Rendering
    • Schemas
  • General
    • Plugins
    • Resources
    • Contributing
    • Changelog
    • FAQ
    • Glossary
  • Slate Core
    • Block
    • Change
    • Data
    • Decoration
    • Document
    • Inline
    • Mark
    • Node
    • Operation
    • Point
    • Range
    • Schema
    • Selection
    • Text
    • Value
    • setKeyGenerator
    • resetKeyGenerator
  • Slate React
    • Editor
    • Plugins
    • Custom Nodes
    • Core Plugins
    • cloneFragment
    • findDOMNode
    • findDOMRange
    • findNode
    • findRange
    • getEventRange
    • getEventTransfer
    • setEventTransfer
  • Other Packages
    • slate-html-serializer
    • slate-hyperscript
    • slate-plain-serializer
    • slate-prop-types
    • slate-simulator
Powered by GitBook
On this page
  • Anchor
  • Block
  • Blur
  • Change
  • Character
  • Collapsed
  • Core
  • Data
  • Decoration
  • Document
  • Editor
  • Extend
  • Focus
  • Fragment
  • History
  • Inline
  • Key
  • Mark
  • Merge
  • Model
  • Node
  • Normalize
  • Offset
  • Operation
  • Placeholder
  • Plugin
  • Point
  • Range
  • Redo
  • Rule
  • Schema
  • Selection
  • Serializer
  • Split
  • Stack
  • Text
  • Undo
  • Unwrap
  • Validate
  • Value
  • Wrap

Was this helpful?

  1. General

Glossary

A glossary explaining the terms commonly used in Slate:

Anchor

Block

Blur

Change

Character

A "character" is the smallest element that makes up a text node in Slate.

Collapsed

Core

Data

Decoration

Document

Editor

Extend

Focus

Fragment

History

Inline

Key

Keys are unique identifiers given to nodes in Slate to be able to reference them uniquely even as the document changes.

Mark

Merge

Model

Node

Normalize

Offset

Operation

Placeholder

Plugin

Point

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.

Range

Redo

Rule

Schema

Selection

Serializer

Split

Stack

Text

Undo

Unwrap

Validate

Value

Wrap

To "wrap" is to surround a piece of text or a node in another node. For example, if you select the text Google and want to turn it into a link, you'd "wrap" it with an inline link node.

PreviousFAQNextBlock

Last updated 5 years ago

Was this helpful?

The "document" is the top-level that contains all other nodes that make up the content of the Slate editor.

An offset is a distance from the start of a text node, measured in .

A range is a way to represent a specific section of a document between two . It is modelled after the concept.

To "unwrap" is the opposite of to , removing a surrounding node from a selection.

"node"
"characters"
DOM Range
"points"
"wrap"