Plate Editor
API reference for Plate editor.
A custom editor interface that extends the base Editor
interface and includes additional properties and methods specific to the Plate library.
Core Properties
- Default:
false
A unique identifier for the editor.
A key that can be used to uniquely identify the editor.
The current keyboard event being processed by the editor, or null if no event is being processed.
Whether the editor is a fallback editor.
The previous selection range in the editor.
An array of plugins that are currently being used by the editor.
A record of plugins indexed by their keys.
API Methods
Retrieve the typed API for a plugin.
Get the typed transforms for a plugin.
Retrieve the editor plugin instance by its key or base plugin.
Get the node type associated with a plugin.
Initialize the editor value, selection, and normalization. Accepts options for auto-select, selection, normalization, and value.
Option Methods
Core Plugin APIs
DebugPlugin
HtmlPlugin
ReactPlugin
SlateReactExtensionPlugin
Replace the editor value. See Controlled Value for more information.