Ticket #20993: 20993-2.patch
File 20993-2.patch, 1.5 KB (added by , 13 years ago) |
---|
-
wp-admin/js/editor.dev.js
7 7 this.go(id, mode); 8 8 }, 9 9 10 go: function(id, mode) { // mode can be 'html', 'tmce', or 'toggle' 10 go: function(id, mode) { // mode can be 'html', 'tmce', or 'toggle'; 'html' is used for the "Text" editor tab (Quicktags) 11 11 id = id || 'content'; 12 12 mode = mode || 'toggle'; 13 13 -
wp-includes/class-wp-editor.php
76 76 if ( self::$this_quicktags && self::$this_tinymce ) { 77 77 $switch_class = 'html-active'; 78 78 79 // 'html' and 'switch-html' are used for the "Text" editor tab (Quicktags) 79 80 if ( 'html' == wp_default_editor() ) { 80 81 add_filter('the_editor_content', 'wp_htmledit_pre'); 81 82 } else { -
wp-includes/general-template.php
1767 1767 * Find out which editor should be displayed by default. 1768 1768 * 1769 1769 * Works out which of the two editors to display as the current editor for a 1770 * user. 1770 * user. The 'html' setting is for the "Text" editor tab (Quicktags). 1771 1771 * 1772 1772 * @since 2.5.0 1773 1773 *