Author API Initialization
locked_edit_mode
Controls whether Author API is initialized in locked edit mode.
This mode restricts a user to only be able to view and edit the content of the single Item or Activity specified in the reference initialization option.
Note The reference of this Item/Activity cannot be changed, nor can the Item/Activity be duplicated.
Examples
// Lock author api in Item/Activity edit mode
var initializationOptions = {
"config": {
"mode": "item_edit", // Could also be "activity_edit"
"reference": "item_1", // Could also be the reference of an Activity
"locked_edit_mode": {
"enable": true
}
}
};
Values
Attribute path config.locked_edit_mode
Type object