GetSimple Support Forum
CSS for CKEditor - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: CSS for CKEditor (/showthread.php?tid=9551)



CSS for CKEditor - wdburgdorf - 2017-03-21

Hi,

I need to change CSS in CKEditor content. I'm trying the CSS CKEditor plugin:
http://get-simple.info/extend/plugin/css-ckeditor/1047/

There, I can select a theme, and then should select the CSS file - great. Only, the CSS dropdown remains empty. How is it supposed to work?

Is there another way of doing this (without hacking core)?

Thanks!

Regards,
Ralf


RE: CSS for CKEditor - datiswous - 2017-03-23

You have to select a theme on the left, then you get options in the pull-down on the right.

Not sure how helpful the plugin is.


You are better of with adding an editor.css to your theme, although I cannot find info about it.


RE: CSS for CKEditor - shawn_a - 2017-03-24

editor.css for styling contents.css, styles.js for modifying the styles menu.
There is a stylesheet parser plugin that will add styles from a stylesheet automatically.

Not sure what this plugin does though.


RE: CSS for CKEditor - wdburgdorf - 2017-03-28

Hi Shawn,
Thanks for coming in. I don't mind copying, renaming and editing my custom.css. But then, where do I need to put the resulting editor.css, so that it is picked up by the CKEditor?

EDIT: I got it! I tried various places, and the correct one is right in the template root directory. I expected the place for css to be in the css folder. Anyway, works now.


RE: CSS for CKEditor - wdburgdorf - 2017-03-28

(2017-03-23, 23:23:06)datiswous Wrote: > You have to select a theme on the left, then you get options in the pull-down on the right.

Yes, thanks, I think that's how it is supposed to work. But the file drowdown remains empty for me, whatever theme I select.

EDIT: since I now found out where to put the editor.css file, I see no more use for that plugin ...