From ca91bc95d694d7005dcc8f17a2f01ff1eb8e38d0 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Thu, 15 Jul 2010 13:56:23 +0000 Subject: [PATCH] just explaining the status of moodlemedia plugin --- lib/editor/tinymce/lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/editor/tinymce/lib.php b/lib/editor/tinymce/lib.php index e23088f5cfe..da8f6f3e172 100644 --- a/lib/editor/tinymce/lib.php +++ b/lib/editor/tinymce/lib.php @@ -81,17 +81,17 @@ class tinymce_texteditor extends texteditor { $lang = current_language(); $contentcss = $PAGE->theme->editor_css_url()->out(false); - $xmedia = ''; $context = empty($options['context']) ? get_context_instance(CONTEXT_SYSTEM) : $options['context']; + + $xmedia = 'moodlemedia,'; // HQ thinks it should be always on, so it is no matter if it will actually work or not + /* if (!empty($options['legacy'])) { $xmedia = 'moodlemedia,'; } else { if (!empty($options['noclean']) or !empty($options['trusted'])) { } - } + }*/ - // TODO: enabled moodlemedia - $xmedia = 'moodlemedia,'; $filters = filter_get_active_in_context($context); if (array_key_exists('filter/tex', $filters)) { $xdragmath = 'dragmath,';