TinyMCE wpView: fix 'undefined' head when not adding more stylesheets to the sandbox iframe, fixes #29399
Built from https://develop.svn.wordpress.org/trunk@29649 git-svn-id: http://core.svn.wordpress.org/trunk@29423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d0a37ea07c
commit
c59604e137
|
@ -135,6 +135,7 @@ window.wp = window.wp || {};
|
|||
iframe, iframeDoc, i, resize;
|
||||
|
||||
content.innerHTML = '';
|
||||
head = head || '';
|
||||
|
||||
if ( importStyles ) {
|
||||
if ( ! wp.mce.views.sandboxStyles ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue