This page is available as Markdown at /api/editor/type-aliases/portabletexteditableprops.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.
PortableTextEditableProps
PortableTextEditableProps =
Omit<TextareaHTMLAttributes<HTMLDivElement>,"onPaste"|"onCopy"|"onBeforeInput"> &object
Defined in: packages/editor/src/editor/Editable.tsx:54
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>
renderPlaceholder?
Section titled “renderPlaceholder?”
optionalrenderPlaceholder?:RenderPlaceholderFunction
scrollSelectionIntoView?
Section titled “scrollSelectionIntoView?”
optionalscrollSelectionIntoView?:ScrollSelectionIntoViewFunction
selection?
Section titled “selection?”
optionalselection?:EditorSelection
spellCheck?
Section titled “spellCheck?”
optionalspellCheck?:boolean