RichTextArea

See source code
Table of contents

A rich text area that can be used for editing text with rich text formatting. This component uses the TipTap editor under the hood.


Properties

handleBlur


handleChange

Parameters

NameDescription

changeInfo

{
  plaintext?: string
  richText?: TLRichText
}

Returns

void

handleDoubleClick

Parameters

NameDescription

e

any

Returns

any

handleFocus


handleInputPointerDown

Parameters

NameDescription

e

React.PointerEvent<HTMLTextAreaElement>

Returns

void

handleKeyDown

Parameters

NameDescription

e

KeyboardEvent

Returns

void

isEditing

isEditing: boolean

richText

optional
richText?: TLRichText

shapeId

shapeId: TLShapeId

text

optional
text?: string

Prev
RhombusToolbarItem
Next
RichTextLabel