startEditingShapeWithRichText
See source codeStart editing a shape that has rich text, such as text, note, geo, or arrow shapes. This will enter the editing state for the shape and optionally select all the text.
Parameters
| Name | Description |
|---|---|
| The editor instance. |
| The shape to start editing. This shape must have a richText property with a TLRichText value. |
| Whether to select all the text in the shape once editing begins. |
Returns
voidPrev
serializeTldrawJsonBlobNext
truncateStringWithEllipsis