onEnterDocumentEditingMode

Called when entering document editing mode.

Parameters

controller

Provided controller for managing document editing mode.