Changeset 21218
- Timestamp:
- 07/05/2012 08:28:01 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/editor.dev.js
r20679 r21218 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. 11 11 id = id || 'content'; 12 12 mode = mode || 'toggle'; -
trunk/wp-includes/class-wp-editor.php
r21212 r21218 77 77 $switch_class = 'html-active'; 78 78 79 // 'html' and 'switch-html' are used for the "Text" editor tab. 79 80 if ( 'html' == wp_default_editor() ) { 80 81 add_filter('the_editor_content', 'wp_htmledit_pre'); -
trunk/wp-includes/general-template.php
r20990 r21218 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. 1771 1771 * 1772 1772 * @since 2.5.0
Note: See TracChangeset
for help on using the changeset viewer.