Changeset 29334 for trunk/src/wp-admin/press-this.php
- Timestamp:
- 08/01/2014 12:54:51 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/press-this.php
r29206 r29334 440 440 } 441 441 jQuery(document).ready(function($) { 442 var $contnet = $( '#content' ); 443 442 444 // Resize screen. 443 445 window.resizeTo(760,580); … … 461 463 $(this).siblings('.inside').toggle(); 462 464 }); 465 466 if ( $( '#wp-content-wrap' ).hasClass( 'html-active' ) && window.switchEditors && 467 ( tinyMCEPreInit.mceInit.content && tinyMCEPreInit.mceInit.content.wpautop ) ) { 468 // The Text editor is default, run the initial content through pre_wpautop() to convert the paragraphs 469 $contnet.text( window.switchEditors.pre_wpautop( $contnet.text() ) ); 470 } 463 471 }); 464 472 </script>
Note: See TracChangeset
for help on using the changeset viewer.