Update Text
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.