From: scyrma Date: Tue, 9 Sep 2008 05:29:07 +0000 (+0000) Subject: MDL-16319: set a css sheet for the content of the editor - fixing the issue X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=86a246e9296c68678795c4414cfcd8a6f0bef2da;p=moodle.git MDL-16319: set a css sheet for the content of the editor - fixing the issue with the default font size. This commit also reactivates the media plugin. --- diff --git a/lib/editor/tinymce.js.php b/lib/editor/tinymce.js.php index a4eb28c3cd..179034a6e6 100644 --- a/lib/editor/tinymce.js.php +++ b/lib/editor/tinymce.js.php @@ -137,13 +137,16 @@ EOF; $strtime = get_string('strftimetime'); $strdate = get_string('strftimedaydate'); +// $contentcss should be customizable, but default to this. +$contentcss = $CFG->themewww .'/'. current_theme() .'/styles.php'; + $output = <<httpswwwroot", - content_css: "$CFG->httpswwwroot/lib/editor/tinymce/examples/css/content.css", + content_css: "$contentcss", theme: "simple", skin: "o2k7", skin_variant: "silver", @@ -159,6 +162,7 @@ $output = <<httpswwwroot", + content_css: "$contentcss", theme: "advanced", skin: "o2k7", skin_variant: "silver", @@ -167,7 +171,7 @@ $output = <<