UI Integration

Fonto Document History can be integrated into the user interface in various ways.

Integration in Fonto Editor

By default, Fonto Document History is integrated in Fonto Editor user interface. The button which navigates to Fonto Document History can be configured like any other button in Fonto Editor.

To add the Document History functionality to your Editor instance, enable the Document History add-on (fontoxml-document-history). If you want the buttons for placing comments on selections and elements in Document History to be enabled, you need to include fontoxml-document-history-annotations package. This package requires the fontoxml-annotations package to be present.

Integration in Fonto Review

Fonto Document History can also be integrated in Fonto Review. Launching Fonto Document History can be done by using the same operations as used in Fonto Editor (e.g. go-to-history-for-document). The Fonto Document History UI will disable certain features, like the "Edit here" feature. It will enable a feature to jump back to Fonto Review and create a comment at the position of the change that is selected.

Launching directly

Document History

Optionally, Fonto Document History can be launched directly without having to open the Fonto Editor first. This is useful in the scenario where you want to be able to provide a read-only experience from your CMS.

Launching Fonto Document History directly is very similar to launching the editor. The following URL must be constructed:





The base URL of the editor.


The scope object which is normally passed to the editor. See the CMS integration guide for more information.


The identifier of the document for which to show the history.

To start document history without any way of going back to the editor add the preventLeavingDocumentHistory scope parameter with its value set to true.

Document Compare

To launch in Document Compare mode to compare 2 revisions of arbitrary documents, use the following parameters in the scope:






Document ID for document A



Document ID for document B



Revision ID for document A



Revision ID for revision B