Type: String

Set to a registered React component's name to override the warning modal that appears when documents can not be saved for a while. The component name must be registered using UiManager#registerReactComponent.

The component can use DocumentsSaver#getSecondsSinceFirstError to get the number of seconds since saving last entered the error state.

Defaults to SaveWarningModal for the built-in modal.


configurationManager.set('document-save-warning-modal-component-name', 'MySaveErrorModal');
Was this page helpful?