Skip to content

API reference / Common / RevisionView

Interface: RevisionView ​

What a tracked document shows. Reading it is the whole of how a view reaches a composition: the model holds both versions, and a record says which one the thing it is on belongs to.

A thing is hidden if any record on it hides it, so nesting and a thing both inserted and deleted need no rule of their own.

Properties ​

PropertyDescription
mode
RevisionViewMode
-
balloons
RevisionBalloons
-
insertionsAndDeletions
boolean
Whether insertions, deletions and moves are shown as such. Off, they read as NoMarkup in any mode.
formatting
boolean
Whether changed formatting is shown as such. Off, the current formatting stands in any mode.
hiddenAuthors
string[]
The authors whose records read as NoMarkup in any mode.