useEditablePlainText
See source codefunction useEditablePlainText(
  shapeId: TLShapeId,
  type: string,
  text?: string
): {
  handleBlur: () => void
  handleChange: ({ plaintext }: { plaintext: string }) => void
  handleDoubleClick: (e: any) => any
  handleFocus: () => void
  handleInputPointerDown: (e: React.PointerEvent<Element>) => void
  handleKeyDown: (e: KeyboardEvent) => void
  isEditing: boolean
  isEditingAnything: boolean
  isEmpty: boolean
  rInput: React.RefObject<HTMLTextAreaElement>
}Parameters
| Name | Description | 
|---|---|
| 
 | |
| 
 |  | 
| 
 |  | 
Returns
{
  handleBlur: () => void
  handleChange: ({ plaintext }: { plaintext: string }) => void
  handleDoubleClick: (e: any) => any
  handleFocus: () => void
  handleInputPointerDown: (e: React.PointerEvent<Element>) => void
  handleKeyDown: (e: KeyboardEvent) => void
  isEditing: boolean
  isEditingAnything: boolean
  isEmpty: boolean
  rInput: React.RefObject<HTMLTextAreaElement>
}Prev
useDialogsNext
useEditableRichText