Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CKE Editor styles (CSS) for backend
#1
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
Reply
#2
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
Reply
#3
Thats your browser cache, not really a GS issue, But worth noting.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
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.
Reply




Users browsing this thread: 1 Guest(s)