Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there any way to use theme CSS from screen.css inside of CKEditor ?
#10
It seems to me that it can be builtin directly inside of GS engine.
In file \admin\edit.php in line 316 we can see command which check existing of editor.css
if (file_exists(GSTHEMESPATH .$TEMPLATE."/editor.css"))
and in line 319 - just loading editor.css.
contentsCss: '<?php echo $fullpath; ?>theme/<?php echo $TEMPLATE; ?>/editor.css',
may be it will be better, before this, obtain list of css files available in theme directory and load not dummy editor.css but a real css-file with its original name?
The only problem - more than one css file in dir. But it cam be (IMHO) solved by adding combobox selector in page properties area where user can select the right one or do not use this file at all.

Can anybody inform developers about my suggestion? It seems not so dificult to realese such great feature Wink
Reply


Messages In This Thread
Is there any way to use theme CSS from screen.css inside of CKEditor ? - by zencoder - 2011-11-15, 03:20:48



Users browsing this thread: 1 Guest(s)