Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default () => {
tinymce.PluginManager.add( 'embed', embed );
};
export default function() {
tinymce.PluginManager.add( 'wpcom/editorbuttonanalytics', editorButtonAnalytics );
}
export default () => {
tinymce.PluginManager.add( 'wpcom/calypsoalert', calypsoAlert );
};
export default () => {
tinymce.PluginManager.add( 'wpcom/contactform', wpcomContactForm );
};
export default () => {
tinymce.PluginManager.add( 'wpcom/insertmenu', initialize );
};
export default function() {
tinymce.PluginManager.add( 'wpcom/sourcecode', sourcecode );
}
_.each(this.options.pluginsMap, function(url, name) {
url = location.origin + '/' + this.options.assets_base_url + url;
if (this.options.plugins.indexOf(name) !== -1) {
tinyMCE.PluginManager.load(name, url);
}
}, this);
export default function() {
tinymce.PluginManager.add( 'wpcom/advanced', advanced );
}
export default function() {
tinymce.PluginManager.add( 'wpcom/touchscrolltoolbar', touchScrollToolbar );
}
export default function() {
tinymce.PluginManager.add( 'wplink', wpLink );
}