How to use the alloyeditor.EzBtnImageLinkEdit 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-imagelinkedit.js View on Github external
this.widget[hrefMethodName]('href', linkHref);
        this.widget[hrefMethodName]('data-cke-saved-href', linkHref);
        this.widget[targetMethodName]('target', linkTarget);
        this.widget[titleMethodName]('title', linkTitle);

        this.widget.removeEzLinkAttribute('data-ez-temporary-link');
        this.widget.removeLinkEditState();
        this.widget.setIsLinkedState();

        this.widget.setFocused(true);

        this.props.cancelExclusive();
    }
}

AlloyEditor.Buttons[EzBtnImageLinkEdit.key] = AlloyEditor.EzBtnImageLinkEdit = EzBtnImageLinkEdit;
eZ.addConfig('ezAlloyEditor.ezBtnImageLinkEdit', EzBtnImageLinkEdit);
github ezsystems / ezplatform-richtext / src / bundle / Resources / public / js / OnlineEditor / buttons / ez-btn-imagelinkedit.js View on Github external
this.widget[hrefMethodName]('href', linkHref);
        this.widget[hrefMethodName]('data-cke-saved-href', linkHref);
        this.widget[targetMethodName]('target', linkTarget);
        this.widget[titleMethodName]('title', linkTitle);

        this.widget.removeEzLinkAttribute('data-ez-temporary-link');
        this.widget.removeLinkEditState();
        this.widget.setIsLinkedState();

        this.widget.setFocused(true);

        this.props.cancelExclusive();
    }
}

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

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

eZ.ezAlloyEditor = eZ.ezAlloyEditor || {};
eZ.ezAlloyEditor.ezBtnImageLinkEdit = EzBtnImageLinkEdit;