Author Topic: Including fck_editor style into file preview  (Read 1574 times)

chekka

  • Newbie
  • *
  • Posts: 25
    • View Profile
Including fck_editor style into file preview
« on: 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:

Code: [Select]
// Include stylesheet from FCK Editor
echo '<style type="text/css">';
require_once('./public/assets/javascript/fckeditor/editor/css/fck_editorarea.css');
echo '</style>';
« Last Edit: September 09, 2009, 11:31:14 AM by chekka »

 

anything