Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* @return {Object} The content which should be rendered.
*/
render() {
const css = 'ae-button ez-btn-ae ez-btn-ae--embedupdate ' + this.getStateClasses();
return (
<button tabindex="{this.props.tabIndex}">
<svg>
</svg>
</button>
);
}
}
AlloyEditor.Buttons[EzBtnEmbedUpdate.key] = AlloyEditor.EzBtnEmbedUpdate = EzBtnEmbedUpdate;
const eZ = (window.eZ = window.eZ || {});
eZ.ezAlloyEditor = eZ.ezAlloyEditor || {};
eZ.ezAlloyEditor.ezBtnEmbedUpdate = EzBtnEmbedUpdate;
EzBtnEmbedUpdate.defaultProps = {
udwTitle: Translator.trans(/*@Desc("Select a Content item to embed")*/ 'embed_update_btn.udw.title', {}, 'alloy_editor'),
udwContentDiscoveredMethod: 'updateEmbed',
udwConfigName: 'richtext_embed',
label: Translator.trans(/*@Desc("Select another Content item")*/ 'embed_update_btn.label', {}, 'alloy_editor'),
};
* @return {Object} The content which should be rendered.
*/
render() {
const css = 'ae-button ez-btn-ae ez-btn-ae--embedupdate ' + this.getStateClasses();
return (
<button tabindex="{this.props.tabIndex}">
<svg>
</svg>
</button>
);
}
}
AlloyEditor.Buttons[EzBtnEmbedUpdate.key] = AlloyEditor.EzBtnEmbedUpdate = EzBtnEmbedUpdate;
eZ.addConfig('ezAlloyEditor.ezBtnEmbedUpdate', EzBtnEmbedUpdate);
EzBtnEmbedUpdate.defaultProps = {
udwTitle: Translator.trans(/*@Desc("Select a content to embed")*/ 'embed_update_btn.udw.title', {}, 'alloy_editor'),
udwContentDiscoveredMethod: 'updateEmbed',
udwConfigName: 'richtext_embed',
label: Translator.trans(/*@Desc("Select another content item")*/ 'embed_update_btn.label', {}, 'alloy_editor'),
};