{
    "key": "bs-popover",
    "name": "Popover",
    "category": "bootstrap",
    "icon": "fa fa-comment",
    "instructions": "$string.bspopover_instructions",
    "template": "<a href=\"javascript:void(0)\" role=\"button\" aria-haspopup=\"true\" data-toggle=\"popover\" data-bs-toggle=\"popover\" data-trigger=\"click\" data-bs-trigger=\"click\" \ndata-original-title=\"{{title}}\" data-bs-original-title=\"{{title}}\" data-content=\"{{{anotation}}}\" data-bs-content=\"{{{anotation}}}\" \ndata-html=\"true\" data-bs-html=\"true\" data-container=\"body\" data-bs-container=\"body\"\ndata-placement=\"{{placement}}\" data-bs-placement=\"{{placement}}\"><span class=\"whb-inspoint\">{{word}}</span></a>\n",
    "selectors": "a[data-toggle=\"popover\"]:not([href^=\"#speak_\"])",
    "unwrap": ".whb-inspoint",
    "insertquery": ".whb-inspoint",
    "parameters": [
        {
            "name": "word",
            "title": "$string.bspopover_word",
            "value": "Moodle",
            "type": "textfield",
            "tip": "$string.bspopover_word_tip",
            "when": "!SELECT_MODE"
        },
        {
            "name": "placement",
            "value": "auto",
            "title": "$string.bspopover_placement",
            "options": [
                "auto",
                "top",
                "bottom",
                "left",
                "right"
            ],
            "bind": "attrBS('placement')"
        },
        {
            "name": "title",
            "value": "",
            "title": "$string.bspopover_title",
            "transform": "trim",
            "tip": "$string.bspopover_title_tip",
            "bind": "attrBS('original-title')"
        },
        {
            "name": "anotation",
            "value": "It's <b>awesome</b>",
            "title": "$string.bspopover_anotation",
            "type": "textarea",
            "transform": "escapeQuotes",
            "tip": "$string.bspopover_anotation_tip",
            "bind": "attrBS('content')"
        }
    ],
    "author": "Josep Mulet <pep.mulet@gmail.com>",
    "version": "2.0.1"
}