I followed the steps on the CDN Guidelines page for CKEditior, but I can\'t make it work. The plugin that I\'m trying to install is \"autoembed\" (or any plugin that lets me
There's a method in CKEDITOR.resourceManager
called addExternal. You can use it like
// Loads a plugin from '/myplugin/samples/plugin.js'.
CKEDITOR.plugins.addExternal( 'sample', '/myplugins/sample/' );
Then simply add autoembed to config.extraPlugins = 'autoembed' like
CKEDITOR.plugins.addExternal( 'sample', '/myplugins/sample/' );
CKEDITOR.replace( 'element', {
extraPlugins: 'sample'
} );
or in config.js
:
CKEDITOR.plugins.addExternal( 'sample', '/myplugins/sample/' );
CKEDITOR.editorConfig = function( config ) {
config.plugins =
'sample,' +
...
};