The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
CKE Editor styles (CSS) for backend - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: CKE Editor styles (CSS) for backend (/showthread.php?tid=10479)



CKE Editor styles (CSS) for backend - Holger - 2018-05-19

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


RE: CKE Editor styles (CSS) for backend - Holger - 2018-05-20

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


RE: CKE Editor styles (CSS) for backend - shawn_a - 2018-05-21

Thats your browser cache, not really a GS issue, But worth noting.


RE: CKE Editor styles (CSS) for backend - brainbob - 2018-05-21

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.