Closed ghost closed 7 years ago
I've successfully added a plugin in ckeditor_root/plugins/myplugin/
but it doesn't suit me, it can't be as a standalone plugin directory, I need it to be in gjs config or so.
Hi @rafal-olszewski just as explained here http://docs.ckeditor.com/#!/guide/dev_plugins you have to drop your plugin inside plugins
directory and call it via extraPlugins
option, in grapesjs:
var editor = grapesjs.init({
container : '#gjs',
plugins: ['gjs-plugin-ckeditor'],
pluginsOpts: {
'gjs-plugin-ckeditor': {
options: {
extraPlugins: 'plugin-name',
}
}
}
});
How can I add a plugin for ckeditor, which is initialized from within grapesjs script, and the config is inside grapesjs config.