From a33fa3ad83e260a8addb1efb115aa73b35c80465 Mon Sep 17 00:00:00 2001 From: scyrma Date: Tue, 15 Jul 2008 09:00:23 +0000 Subject: [PATCH] MDL-14741: make tinymce toggle editor icon work as it should --- lib/editor/tinymce.js.php | 5 +---- lib/weblib.php | 6 ++++-- theme/standard/styles_layout.css | 7 +++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/lib/editor/tinymce.js.php b/lib/editor/tinymce.js.php index 1f6c48e27d..a63feed85a 100644 --- a/lib/editor/tinymce.js.php +++ b/lib/editor/tinymce.js.php @@ -197,10 +197,7 @@ echo <<'. get_string('editortoggle') .''; // Show shortcuts button if HTML editor is in use, but only if JavaScript is enabled (MDL-9556) - $str .= ''; - $str .= ''. get_string('editortoggle') .''; + $str .= '
'; $str .= ''; + $str .= '
'; } if ($return) { diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 416fa34bf3..741f6180c3 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -489,6 +489,13 @@ img.iconkbhelp { border:0px; } +img.icontoggle { + width:50px; + height:17px; + border:0px; + vertical-align:middle; +} + /*Accessibility: text 'seen' by screen readers but not visual users. Fixed for RTL languages, example Farsi. */ .accesshide { position:absolute; -- 2.39.5