diff --git a/lib/editor/tinymce.js.php b/lib/editor/tinymce.js.php index 1f6c48e27d6..a63feed85a3 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 416fa34bf31..741f6180c31 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;