Editor
import { Editor } from 'slate-react'Props
<Editor
id={String}
autoCorrect={Boolean}
autoFocus={Boolean}
className={String}
commands={Object}
onChange={Function}
placeholder={String | Element}
plugins={Array}
queries={Object}
readOnly={Boolean}
role={String}
schema={Object}
spellCheck={Boolean}
value={Value}
style={Object}
tabIndex={Number}
/>id
idautoCorrect
autoCorrectautoFocus
autoFocusclassName
classNameonChange
onChangeplaceholder
placeholderplugins
pluginsreadOnly
readOnlyrole
rolespellCheck
spellCheckstyle
styletabIndex
tabIndexvalue
valuePlugin-like Props
onBeforeInput
onBeforeInputonBlur
onBluronFocus
onFocusonCopy
onCopyonCut
onCutonDrop
onDroponKeyDown
onKeyDownonKeyUp
onKeyUponPaste
onPasteonSelect
onSelectschema
schemaLast updated