Adding custom buttons to HTML Editor
Hi Ray, I'd like to add some custom plugins to my HTML Editor instances. I downloaded one from the ckeditor site to try, but I can't get it to work.
I followed the instructions on the ckeditor site:
Extract the downloaded plugin .zip into the plugins folder of your CKEditor installation.
Enable the plugin by using the extraPlugins configuration setting.
config.extraPlugins = 'Bootstrap-Mediaembed'; (I added this to the ckeditor config.js file like this: config.extraPlugins = 'cms_source,Bootstrap-Mediaembed';
I then added the button to the ckeditor code on the page, like this:
array( 'Image', 'bootstrapMediaEmbed', 'Table','HorizontalRule','SpecialChar','PageBreak'),
After doing all that though, the HTML Editor instance disappears from the page. Not sure what I'm doing wrong?