TinyMCE wpView: fix 'undefined' head when not adding more stylesheets to the sandbox iframe, fixes #29399
git-svn-id: https://develop.svn.wordpress.org/trunk@29649 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1a1343dbd0
commit
a8a7468a9a
|
@ -135,6 +135,7 @@ window.wp = window.wp || {};
|
|||
iframe, iframeDoc, i, resize;
|
||||
|
||||
content.innerHTML = '';
|
||||
head = head || '';
|
||||
|
||||
if ( importStyles ) {
|
||||
if ( ! wp.mce.views.sandboxStyles ) {
|
||||
|
|
Loading…
Reference in New Issue