Hello,

I have tried everything to override the default style set listed under the style button. I keep getting blank options when i click on Styles. Specifically, I am trying to use the "Use theme ckeditor.styles.js" option.

I have Use Theme ckeditor.styles.js selected in the ckeditor css settings for the profile of my users role. and I have a ckeditor.styles.js file in my active theme directory /sites/all/themes/nianow/ (please see attached ckeditor.styles.js)

Is there something I am missing here... I had no trouble at all with this in fckeditor...

Your advice is greatly appreciated...

Thanks,
Andy :)

CommentFileSizeAuthor
ckeditor.styles.js_.txt1.15 KBaprice42

Comments

B-Dot’s picture

Having exactly the same problem over here...did you ever figure this one out?

aprice42’s picture

no, just decided to forget about it for now... no response here or on the ckeditor forums...

megan_m’s picture

The same thing is happening to me, but I am using a defined path to the ckeditor.styles.js file. I know the path is correct because it's the same path as the one I'm using to my defined .css file, which is working.

drmonkeyninja’s picture

I've just spent some time trying to get this to work. It turned out that the problem was to do with using the wrong path. I found that the following works (where my styles definitions are in a directory called libraries):-

/hostname/sites/all/libraries/ckeditor.styles.js

My mistake was assuming that the path would work the same as for the FCKEditor module we'd used previously.

Hope this helps.

mephir’s picture

Status: Active » Fixed

If you have any lack of clarity about issue, feel free to reopen it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.