Follows the changes to the editor content and manages creating revisions.
An adapter object that should communicate with the data source to fetch or save the revisions data.
This property is also set through
isDirty : Boolean
Informs if any changes happened since the last time a revision was saved.
isLocked : Boolean
Informs if the most recent revision is locked or not.
trueif there are no revisions added (before the editor and the feature are fully initialized).
Updates the most recent revision with given data and recent document changes which happened since the last update.
If the most recent revision is locked, a new revision with given data and document changes is created.
See revision history guide to learn more about saving and updating revisions.
[ data ] : Object
[ data.name ] : String
Revision name for the updated or created revision. If set, forces
[ data.isLocked ] : Boolean
Whether to lock the revision after it is updated or created.
Updated or created revision.