Make WordPress Core

Ticket #22155: 22155.patch

File 22155.patch, 541 bytes (added by dannydehaan, 12 years ago)

Fix for 22155

  • wp-includes/js/autosave.js

     
    284284                        doAutoSave = false;
    285285                } else {
    286286                        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({format : 'html'}), {format : 'html'});
    288288                        tinymce.triggerSave();
    289289                }
    290290        }