Docs
Slate React

Slate React

API reference for @udecode/slate-react.

@udecode/slate-react extends Slate React API with generic types.

React Editor

Find the corresponding documentation in the Slate React docs.

SlateProps

TReactEditor

blurEditor

deselectEditor

findEditorDocumentOrShadowRoot

findEventRange

findNodeKey

findNodePath

focusEditor

getEditorWindow

hasEditorDOMNode

hasEditorEditableTarget

hasEditorSelectableTarget

hasEditorTarget

insertData

isComposing

isEditorFocused

isEditorReadOnly

isTargetInsideNonReadonlyVoidEditor

setFragmentData

toDOMNode

toDOMPoint

toDOMRange

toSlateNode

toSlatePoint

toSlateRange