UpdateText

data class UpdateText(val id: String, val text: String) : Intent

Replace the text content of an existing Element.Text. Snapshots history so a typing session can be undone as a single revision when the embedder commits with a single dispatch (typical for modal editors); embedders implementing inline editing should batch their own undo boundaries.

Constructors

Link copied to clipboard
constructor(id: String, text: String)

Properties

Link copied to clipboard
val id: String
Link copied to clipboard