Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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);
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;