Initialization Option Author API

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

Request object key 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.

Related articles

Was this article helpful?