Author API Initialization
enable
Controls whether the button is visible on the rich text editor toolbar in the Widget editor (Question or Feature) view.
You would want to use this to disable the ability to add pop-up content for all Questions.
Note This button is available only for the stimulus field for any Question type, and the content field in the shared passages Feature type.
Examples
var initializationOptions = {
"config": {
"item_edit": {
"item": {
"popup_content": {
"enable": false
}
}
}
}
};
Values
Attribute path config.item_edit.item.popup_content.enable
Default true
Type boolean
Caveats
When set to false
, existing pop-up content Widgets will still show in the Widget editor view but will not be editable and new Widgets cannot be added.