Changeset 22719 for trunk/wp-includes/class-wp-editor.php
- Timestamp:
- 11/20/2012 06:20:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-editor.php
r22567 r22719 110 110 } 111 111 112 $buttons .= '<a id="' . $editor_id . '-html" class=" hide-if-no-jswp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __('Text') . "</a>\n";113 $buttons .= '<a id="' . $editor_id . '-tmce" class=" hide-if-no-jswp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n";112 $buttons .= '<a id="' . $editor_id . '-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">' . __('Text') . "</a>\n"; 113 $buttons .= '<a id="' . $editor_id . '-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">' . __('Visual') . "</a>\n"; 114 114 } 115 115 … … 125 125 126 126 if ( !empty($buttons) || $set['media_buttons'] ) { 127 echo '<div id="wp-' . $editor_id . '-editor-tools" class="wp-editor-tools ">';127 echo '<div id="wp-' . $editor_id . '-editor-tools" class="wp-editor-tools hide-if-no-js">'; 128 128 echo $buttons; 129 129 … … 134 134 include(ABSPATH . 'wp-admin/includes/media.php'); 135 135 136 echo '<div id="wp-' . $editor_id . '-media-buttons" class=" hide-if-no-jswp-media-buttons">';136 echo '<div id="wp-' . $editor_id . '-media-buttons" class="wp-media-buttons">'; 137 137 do_action('media_buttons', $editor_id); 138 138 echo "</div>\n";
Note: See TracChangeset
for help on using the changeset viewer.