TEXT

data object TEXT : Mode

Plain-text mode — tap on the canvas inserts an empty Element.Text at the tap position. The sample app opens a modal text field to gather the actual content; embedders can mirror that pattern or provide an inline editor (out of scope for OSS v1).

Functions

Link copied to clipboard

Whether mode participates in State.toolMemory save/restore on Intent.SetMode.