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