GetSimple Support Forum

Full Version: CKE Editor styles (CSS) for backend
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear friends,

I need some help for a very basic question concerning the CKE Editor config.


I just want to add some lines of CSS for the displaying of content in the editor area (backend).


For example:

Setting 

img { max-width: 100%; }


Reason:

My images are scaled in frontend-CSS with relative values anyway and I often upload them with a bit higher resolution than needed for a slightly better look on retina displays.

As the are displayed in "1:1" size in the backend editor view, this is a littlebit unhandy.


----

I tried to change "contents.css" in "../admin/template/js/ckeditor" but this seems to have no effect at all.

Do I have to enable the file somewhere in the page getsimple or CKE configuration before?

Any ideas or help would be more than appreciated




Best regards,
Holger
OK, I found out, that the "contents.css" for CKE is only recompiled if you trigger 
"Flush All Caches" 
in the setup.

Idea

It would be great to include that in the WIKI - or did I just miss it??

(I would say it's not so obvious to see that you have to "flush" manually)


Best,
Holger
Thats your browser cache, not really a GS issue, But worth noting.
Had some problems like this in the past.
i flush browser-cache (CTRL + SHIFT + ENTF) first, thats in the most cases the way to see new changes.