Ticket #29048: 29048.patch
File 29048.patch, 1.9 KB (added by , 9 years ago) |
---|
-
src/wp-includes/js/mce-view.js
156 156 '<html>' + 157 157 '<head>' + 158 158 '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />' + 159 '<style>' + 160 'html, body {' + 161 'background: transparent;' + 162 'padding: 0;' + 163 'margin: 0;' + 164 '}' + 165 'body {' + 166 'height: 100%;' + 167 '}' + 168 '</style>' + 159 169 '</head>' + 160 '<body data-context="iframe-sandbox" style="padding: 0; margin: 0;" class="' + editor.getBody().className + '">' +170 '<body data-context="iframe-sandbox">' + 161 171 html + 162 172 '</body>' + 163 173 '</html>' -
src/wp-includes/media.php
3310 3310 */ 3311 3311 function wp_media_mce_styles() { 3312 3312 $version = 'ver=' . $GLOBALS['wp_version']; 3313 $tinymce = includes_url( "js/tinymce/skins/lightgray/content.min.css?$version" );3314 3313 $dashicons = includes_url( "css/dashicons.css?$version" ); 3315 $skin = includes_url( "js/tinymce/skins/wordpress/wp-content.css?$version" );3316 3314 $mediaelement = includes_url( "js/mediaelement/mediaelementplayer.min.css?$version" ); 3317 3315 $wpmediaelement = includes_url( "js/mediaelement/wp-mediaelement.css?$version" ); 3318 3316 3319 $mce_styles = array( $tinymce, $dashicons, $skin, $mediaelement, $wpmediaelement ); 3320 $editor_styles = get_editor_stylesheets(); 3321 if ( ! empty( $editor_styles ) ) { 3322 foreach ( $editor_styles as $style ) { 3323 $mce_styles[] = $style; 3324 } 3325 } 3326 return $mce_styles; 3327 } 3328 No newline at end of file 3317 return array( $dashicons, $mediaelement, $wpmediaelement ); 3318 }