I don't seem to be able to get the module to actually use the defined DrupalBasic toolbar as defiend in the ckeditor.config.js of the module folder.

I have read and (I think!) understood that I can edit the definitions in the ckeditor.config.js file and these should be reflected whenever I use the module/js combination.

Now, it actually DOES work fine for the DrupalFull toolbar because I have redefined both as follows (drastically cutting down the Full one)...

  // An edited to be even more BASIC toolbar to allow commenters to only lightly embelish their contributions
  config.toolbar_DrupalBasic = [
  ['Bold','Italic','NumberedList','BulletedList','-','Outdent','Indent','PasteText']
  ] ;
  
  /*
  * This toolbar is dedicated to users with "Full HTML" access some of commands
  * used here (like 'FontName') use inline styles, which unfortunately are
  * stripped by "Filtered HTML" filter
  */
  config.toolbar_DrupalFull = [
  ['Format'],
  ['Bold','Italic','Underline','NumberedList','BulletedList','-','Outdent','Indent'],
  ['Undo','Redo','-','Cut','Copy','PasteText','Table','-','Link','LinkToNode','LinkToMenu','DrupalBreak']
  ] ;

But it appears to be taking absolutely no notice of the first redefinition.

In fact, when I dig and fiddle deeper, it doesn't even appear to reading the basic smaller fallback toolbar from the \sites\all\modules\core\ckeditor\ckeditor\config.js file so where on eartch is it getting the smaller toolbar from?

I've attached a PNG of the toolbar that it IS actually using for smaller text areas but I am at a loss to explain where it is getting this toolbar from because (as you see above) it is not the one defined as 'DrupalBasic'

Finally, on the same subject, have you removed the ability to store the ckeditor.config.js file within the Theme folder - I swear it was a few days ago?!

Thanks

CommentFileSizeAuthor
fallback_small_toolbar.png2.41 KBsirclickalot

Comments

wwalc’s picture

Apologies for late reply.

To change a simple toolbar, change the definition of config.toolbar_DrupalBasic in ckeditor.config.js

It is possible to change the location of ckeditor.config.js to a theme directory in the "Advanced options" section.

wwalc’s picture

Status: Active » Closed (fixed)