Initialization Option Author API

show

Controls whether the edit and preview mode buttons are shown.

You would want to use this to hide the edit and preview mode buttons in the Activity editor view.

Note Setting both mode.show and reference.show initialization options to false will hide the entire toolbar.

Examples

var initializationOptions = {
    "config": {
        "activity_edit": {
            "mode": {
                "show": false
            }
        }
    }
};

Values

Request object key config.activity_edit.mode.show

Default: true

Type boolean

Was this article helpful?