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