PortableTextEditableProps
PortableTextEditableProps =
Omit<TextareaHTMLAttributes<HTMLDivElement>,"onPaste"|"onCopy"|"onBeforeInput"> &object
Defined in: packages/editor/src/editor/Editable.tsx:60
Type declaration
Section titled “Type declaration”hotkeys?
Section titled “hotkeys?”
optionalhotkeys:HotkeyOptions
onBeforeInput()?
Section titled “onBeforeInput()?”
optionalonBeforeInput: (event) =>void
Parameters
Section titled “Parameters”InputEvent
Returns
Section titled “Returns”void
onCopy?
Section titled “onCopy?”
optionalonCopy:OnCopyFn
onPaste?
Section titled “onPaste?”
optionalonPaste:OnPasteFn
rangeDecorations?
Section titled “rangeDecorations?”
optionalrangeDecorations:RangeDecoration[]
optionalref:React.Ref<HTMLDivElement>
renderAnnotation?
Section titled “renderAnnotation?”
optionalrenderAnnotation:RenderAnnotationFunction
renderBlock?
Section titled “renderBlock?”
optionalrenderBlock:RenderBlockFunction
renderChild?
Section titled “renderChild?”
optionalrenderChild:RenderChildFunction
renderDecorator?
Section titled “renderDecorator?”
optionalrenderDecorator:RenderDecoratorFunction
renderListItem?
Section titled “renderListItem?”
optionalrenderListItem:RenderListItemFunction
renderPlaceholder?
Section titled “renderPlaceholder?”
optionalrenderPlaceholder:RenderPlaceholderFunction
renderStyle?
Section titled “renderStyle?”
optionalrenderStyle:RenderStyleFunction
scrollSelectionIntoView?
Section titled “scrollSelectionIntoView?”
optionalscrollSelectionIntoView:ScrollSelectionIntoViewFunction
selection?
Section titled “selection?”
optionalselection:EditorSelection
spellCheck?
Section titled “spellCheck?”
optionalspellCheck:boolean