PortableTextEditableProps
PortableTextEditableProps:
Omit
<TextareaHTMLAttributes
<HTMLDivElement
>,"onPaste"
|"onCopy"
|"onBeforeInput"
> &object
Type declaration
hotkeys?
optional
hotkeys:HotkeyOptions
onBeforeInput()?
optional
onBeforeInput: (event
) =>void
Parameters
event
InputEvent
Returns
void
onCopy?
optional
onCopy:OnCopyFn
onPaste?
optional
onPaste:OnPasteFn
rangeDecorations?
optional
rangeDecorations:RangeDecoration
[]
ref
ref:
MutableRefObject
<HTMLDivElement
|null
>
renderAnnotation?
optional
renderAnnotation:RenderAnnotationFunction
renderBlock?
optional
renderBlock:RenderBlockFunction
renderChild?
optional
renderChild:RenderChildFunction
renderDecorator?
optional
renderDecorator:RenderDecoratorFunction
renderListItem?
optional
renderListItem:RenderListItemFunction
renderPlaceholder?
optional
renderPlaceholder:RenderPlaceholderFunction
renderStyle?
optional
renderStyle:RenderStyleFunction
scrollSelectionIntoView?
optional
scrollSelectionIntoView:ScrollSelectionIntoViewFunction
selection?
optional
selection:EditorSelection
spellCheck?
optional
spellCheck:boolean
Defined in
packages/editor/src/editor/Editable.tsx:92