How to use the alloyeditor.EzBtnImageVariation function in alloyeditor

To help you get started, we’ve selected a few alloyeditor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ezsystems / ezplatform-admin-ui / src / bundle / Resources / public / js / alloyeditor / src / buttons / ez-btn-imagevariation.js View on Github external
/**
     * Lifecycle. Renders the UI of the button.
     *
     * @method render
     * @return {Object} The content which should be rendered.
     */
    render() {
        return (
            <select tabindex="{this.props.tabIndex}">
                {this.getImageVariationOptions()}
            </select>
        );
    }
}

AlloyEditor.Buttons[EzBtnImageVariation.key] = AlloyEditor.EzBtnImageVariation = EzBtnImageVariation;
eZ.addConfig('ezAlloyEditor.ezBtnImageVariation', EzBtnImageVariation);
github ezsystems / ezplatform-richtext / src / bundle / Resources / public / js / OnlineEditor / buttons / ez-btn-imagevariation.js View on Github external
* @return {Object} The content which should be rendered.
     */
    render() {
        return (
            <select tabindex="{this.props.tabIndex}">
                {this.getImageVariationOptions()}
            </select>
        );
    }
}

AlloyEditor.Buttons[EzBtnImageVariation.key] = AlloyEditor.EzBtnImageVariation = EzBtnImageVariation;

const eZ = (window.eZ = window.eZ || {});

eZ.ezAlloyEditor = eZ.ezAlloyEditor || {};
eZ.ezAlloyEditor.ezBtnImageVariation = EzBtnImageVariation;