Initialization Option Author API

default

Specifies the default Item editor mode.

You would want to use this to change the default mode from editing Items to previewing Items.

Examples

var initializationOptions = {
    "config": {
        "item_edit": {
            "item": {
                "mode": {
                    "default": "preview"
                }
            }
        }
    }
};

Values

Request object key config.item_edit.item.mode.default

Default: "edit"

Type string

Possible values:
  • "edit" allows authors to edit Items by default
  • "preview" allows authors to preview and interact with Items by default

Related articles

Was this article helpful?