Author API Initialization
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
Attribute path 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