Changeset 27857 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 03/29/2014 11:57:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r27828 r27857 670 670 wp_enqueue_script('editor'); 671 671 672 if ( self::$has_quicktags ) 673 wp_enqueue_script('quicktags'); 672 if ( self::$has_quicktags ) { 673 wp_enqueue_script( 'quicktags' ); 674 wp_enqueue_style( 'buttons' ); 675 } 674 676 675 677 if ( in_array('wplink', self::$plugins, true) || in_array('link', self::$qt_buttons, true) ) { … … 1116 1118 <div id="wp-fullscreen-central-toolbar" style="width:<?php echo $width; ?>px;"> 1117 1119 1118 <div id="wp-fullscreen-mode-bar"><div id="wp-fullscreen-modes"> 1119 <a href="#" onclick="wp.editor.fullscreen.switchmode('tinymce');return false;"><?php _e( 'Visual' ); ?></a> 1120 <a href="#" onclick="wp.editor.fullscreen.switchmode('html');return false;"><?php _ex( 'Text', 'Name for the Text editor tab (formerly HTML)' ); ?></a> 1121 </div></div> 1120 <div id="wp-fullscreen-mode-bar"> 1121 <div id="wp-fullscreen-modes" class="button-group"> 1122 <a class="button wp-fullscreen-mode-tinymce" href="#" onclick="wp.editor.fullscreen.switchmode( 'tinymce' ); return false;"><?php _e( 'Visual' ); ?></a> 1123 <a class="button wp-fullscreen-mode-html" href="#" onclick="wp.editor.fullscreen.switchmode( 'html' ); return false;"><?php _ex( 'Text', 'Name for the Text editor tab (formerly HTML)' ); ?></a> 1124 </div> 1125 </div> 1122 1126 1123 1127 <div id="wp-fullscreen-button-bar"><div id="wp-fullscreen-buttons" class="mce-toolbar">
Note: See TracChangeset
for help on using the changeset viewer.