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

Author API Initialization


Controls whether to start the Activity editor view in the editor mode or preview mode.

You would want to use this to set the default Activity view to the preview mode for all Activities.


var initializationOptions = {
    "config": {
        "activity_edit": {
            "mode": {
                "default": "preview"


Attribute path config.activity_edit.mode.default

Default "edit"

Type string

Possible values

  • "edit"
  • "preview"
Was this article helpful?

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