> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# PortableTextEditableProps

> **PortableTextEditableProps** = `Omit`\<`TextareaHTMLAttributes`\<`HTMLDivElement`\>, `"onPaste"` \| `"onCopy"` \| `"onBeforeInput"`\> & `object`

Defined in: packages/editor/src/editor/Editable.tsx:60

## Type Declaration

### hotkeys?

> `optional` **hotkeys**: [`HotkeyOptions`](/api/editor/type-aliases/hotkeyoptions/)

### onBeforeInput()?

> `optional` **onBeforeInput**: (`event`) => `void`

#### Parameters

##### event

`InputEvent`

#### Returns

`void`

### onCopy?

> `optional` **onCopy**: [`OnCopyFn`](/api/editor/type-aliases/oncopyfn/)

### onPaste?

> `optional` **onPaste**: [`OnPasteFn`](/api/editor/type-aliases/onpastefn/)

### rangeDecorations?

> `optional` **rangeDecorations**: [`RangeDecoration`](/api/editor/interfaces/rangedecoration/)[]

### ref?

> `optional` **ref**: `React.Ref`\<`HTMLDivElement`\>

### renderAnnotation?

> `optional` **renderAnnotation**: [`RenderAnnotationFunction`](/api/editor/type-aliases/renderannotationfunction/)

### renderBlock?

> `optional` **renderBlock**: [`RenderBlockFunction`](/api/editor/type-aliases/renderblockfunction/)

### renderChild?

> `optional` **renderChild**: [`RenderChildFunction`](/api/editor/type-aliases/renderchildfunction/)

### renderDecorator?

> `optional` **renderDecorator**: [`RenderDecoratorFunction`](/api/editor/type-aliases/renderdecoratorfunction/)

### renderListItem?

> `optional` **renderListItem**: [`RenderListItemFunction`](/api/editor/type-aliases/renderlistitemfunction/)

### renderPlaceholder?

> `optional` **renderPlaceholder**: [`RenderPlaceholderFunction`](/api/editor/type-aliases/renderplaceholderfunction/)

### renderStyle?

> `optional` **renderStyle**: [`RenderStyleFunction`](/api/editor/type-aliases/renderstylefunction/)

### scrollSelectionIntoView?

> `optional` **scrollSelectionIntoView**: [`ScrollSelectionIntoViewFunction`](/api/editor/type-aliases/scrollselectionintoviewfunction/)

### selection?

> `optional` **selection**: [`EditorSelection`](/api/editor/type-aliases/editorselection/)

### spellCheck?

> `optional` **spellCheck**: `boolean`