Ticket #22155: 22155.diff
File 22155.diff, 1.7 KB (added by , 12 years ago) |
---|
-
wp-includes/js/autosave.js
284 284 doAutoSave = false; 285 285 } else { 286 286 if ( 'mce_fullscreen' == ed.id || 'wp_mce_fullscreen' == ed.id ) 287 tinymce.get('content').setContent(ed.getContent( {format : 'raw'}), {format : 'raw'});287 tinymce.get('content').setContent(ed.getContent()); 288 288 tinymce.triggerSave(); 289 289 } 290 290 } -
wp-includes/js/mce-view.js
544 544 this.img['class'] = className; 545 545 546 546 this.$el.addClass('spinner'); 547 this.model.fetch().done( _.bind( this.render, this ) ); 547 if ( ! this.model.get('url') ) 548 this.model.fetch().done( _.bind( this.render, this ) ); 549 else 550 _.defer( _.bind( this.render, this ) ); 548 551 }, 549 552 550 553 render: function() { … … 717 720 } 718 721 } 719 722 }); 720 }(jQuery)); 721 No newline at end of file 723 }(jQuery)); -
wp-includes/js/tinymce/plugins/wpfullscreen/editor_plugin_src.js
29 29 ed.focus(); 30 30 edd = tinyMCE.get( ed.getParam('wp_fullscreen_editor_id') ); 31 31 32 edd.setContent( ed.getContent( {format : 'raw'}), {format : 'raw'});32 edd.setContent( ed.getContent() ); 33 33 }); 34 34 35 35 ed.addCommand('wpFullScreenInit', function() {