Make WordPress Core

Ticket #40570: class-wp-editor.diff

File class-wp-editor.diff, 524 bytes (added by DeusTron, 7 years ago)
  • trunk/wp-includes/class-wp-editor.php

     
    240240                                $toolbar_id = 'qt_' . $editor_id_attr . '_toolbar';
    241241                        }
    242242
    243                         $quicktags_toolbar = '<div id="' . $toolbar_id . '" class="quicktags-toolbar"></div>';
     243                        $quicktags_toolbar = '<div id="' . $toolbar_id . '" class="quicktags-toolbar hide-if-no-js"></div>';
    244244                }
    245245
    246246                /**