config.activity_edit.mode.show - Initialization - Author API

Author API Initialization

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

Attribute path config.activity_edit.mode.show

Default true

Type boolean

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.