PlainTextArea

See source code
Table of contents

A plain text area that can be used for basic editing text.


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<HTMLElement>;

Returns

void;

handleKeyDown

Parameters

NameDescription

e

KeyboardEvent;

Returns

void;

handlePaste

Parameters

NameDescription

e

  | ClipboardEvent
  | React.ClipboardEvent<HTMLTextAreaElement>;

Returns

void;

hasCustomTabBehavior

optional
hasCustomTabBehavior?: boolean;

isEditing

isEditing: boolean;

richText

optional
richText?: TLRichText;

shapeId

shapeId: TLShapeId;

text

optional
text?: string;

Prev
PeopleMenu
Next
PlainTextLabel