isComparisonActive()

Indicates whether the Scrivito UI is currently displaying a comparison between content versions, e.g. in the “Changes” view mode.

This method can be useful for covering special rendering tasks in Scrivito’s editing UI. In everyday situations, this method is not required for rendering content comparisons as the UI does this automatically in “Changes” mode.

Params

none

Returns

Boolean – true if the Scrivito UI displays a comparison between content versions.

See also

isInPlaceEditingActive