Feng Forum

Other Topics => Ideas => : chekka September 09, 2009, 10:42:47 AM

: Including fck_editor style into file preview
: chekka September 09, 2009, 10:42:47 AM
Hi folks, how about that:

I was asking me why previewing and editing files does not use the same styling. So, I included the fck_editor stylesheet into »application/controllers/FilesController.class.php«, so that I have the same styling while previewing and editing html files.

I inserted following lines after line 1916:

:
// Include stylesheet from FCK Editor
echo '<style type="text/css">';
require_once('./public/assets/javascript/fckeditor/editor/css/fck_editorarea.css');
echo '</style>';