Skip to content

API reference / Common / Engine types / ObjectTextOutcome

Type Alias: ObjectTextOutcome ​

ts
type ObjectTextOutcome = 
  | {
  objectTextReplaced: {
     end: TextPosition;
  };
}
  | "textBoxPropertiesUpdated";

What an ObjectTextCommand did to a page's text — a fact about the page, never a selection.

A page's text runs through the objects holding it, and an edit re-flows it across them, so where what it wrote ends is the edit's own to say: no other reading of the command can.