Changeset 23790
- Timestamp:
- 03/22/2013 08:43:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/editor.js
r23327 r23790 50 50 return false; 51 51 52 if ( ed ) 52 if ( ed ) { 53 53 ed.hide(); 54 } else { 55 // The TinyMCE instance doesn't exist, run the content through "pre_wpautop()" and show the textarea 56 if ( tinyMCEPreInit.mceInit[id] && tinyMCEPreInit.mceInit[id].wpautop ) 57 txtarea_el.value = t.pre_wpautop( txtarea_el.value ); 58 59 dom.setStyles(txtarea_el, {'display': '', 'visibility': ''}); 60 } 54 61 55 62 dom.removeClass(wrap_id, 'tmce-active');
Note: See TracChangeset
for help on using the changeset viewer.