Skip to content

API reference / Common / Engine types / WordprocessingCommand

Type Alias: WordprocessingCommand ​

ts
type WordprocessingCommand = object;

An edit intent for a wordprocessing document. The editor turns a command into a CRDT modification; it never touches the model directly.

One kind so far — EditSectionText, a text-sub-domain [TextCommand] scoped to the section body it edits, the flow-text twin of presentation's EditShape command. Section-structure commands (insert / delete / reorder sections) land when section editing does. Serialize/Deserialize make it a stable wire form (externally tagged by variant name) for host edits.

Properties ​

PropertyType
editSectionText{ story: TextStoryId; command: TextCommand; }