Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
*/
render() {
const css = 'ae-button ez-btn-ae ez-btn-ae--embed-inline';
const label = Translator.trans(/*@Desc("Embed")*/ 'embed_btn.label', {}, 'alloy_editor');
return (
<button title="{label}" tabindex="{this.props.tabIndex}">
<svg>
</svg>
</button>
);
}
}
AlloyEditor.Buttons[EzBtnEmbedInline.key] = AlloyEditor.EzBtnEmbedInline = EzBtnEmbedInline;
eZ.addConfig('ezAlloyEditor.ezBtnEmbedInline', EzBtnEmbedInline);
EzBtnEmbedInline.defaultProps = {
command: 'ezembedinline',
modifiesSelection: true,
udwTitle: Translator.trans(/*@Desc("Select a content to embed")*/ 'embed_btn.udw.title', {}, 'alloy_editor'),
udwContentDiscoveredMethod: 'addEmbed',
udwConfigName: 'richtext_embed',
};
*/
render() {
const css = 'ae-button ez-btn-ae ez-btn-ae--embed-inline';
const label = Translator.trans(/*@Desc("Embed")*/ 'embed_btn.label', {}, 'alloy_editor');
return (
<button title="{label}" tabindex="{this.props.tabIndex}">
<svg>
</svg>
</button>
);
}
}
AlloyEditor.Buttons[EzBtnEmbedInline.key] = AlloyEditor.EzBtnEmbedInline = EzBtnEmbedInline;
const eZ = (window.eZ = window.eZ || {});
eZ.ezAlloyEditor = eZ.ezAlloyEditor || {};
eZ.ezAlloyEditor.ezBtnEmbedInline = EzBtnEmbedInline;
EzBtnEmbedInline.defaultProps = {
command: 'ezembedinline',
modifiesSelection: true,
udwTitle: Translator.trans(/*@Desc("Select a Content item to embed")*/ 'embed_btn.udw.title', {}, 'alloy_editor'),
udwContentDiscoveredMethod: 'addEmbed',
udwConfigName: 'richtext_embed',
};