by
KK » Sat Aug 27, 2016 4:02 am
@wysocki
I could get this plugin to work with Couch 2.0 -

- caption.jpg (20.06 KiB) Viewed 7764 times
I'll outline the steps for you -
1. You'll require CKEditor v 4.5.9 (you can get it from this post -
viewtopic.php?f=5&t=10241&start=40#p24856).
While the post mentioned above refers specifically to Couch v2.0, I think you can use it to upgrade the CKEditor used by Couch v1.4.7 too.
2. Once the later version of CKEditor is in place, extract the contents of the following attached zip
It will yield three folders that you should place within 'couch/includes/ckeditor/plugins' folder.
3. Finally, edit 'couch/includes/ckeditor/config.js' and modify the following portion -
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.language = 'en';
to make it as follows -
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.language = 'en';
config.extraPlugins = 'lineutils';
config.extraPlugins = 'widget';
config.extraPlugins = 'image2';
The sequence in which the plugins are activated in the config file above is crucial so please simply copy and paste the three lines above at the right location.
And that should be it. Refresh your browser a few times to bust its cache and now you should find the caption plugin working.
Hope it helps.