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:
Andrew Ozz 2014-08-27 18:22:51 +00:00
parent 1a1343dbd0
commit a8a7468a9a
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ window.wp = window.wp || {};
iframe, iframeDoc, i, resize;
content.innerHTML = '';
head = head || '';
if ( importStyles ) {
if ( ! wp.mce.views.sandboxStyles ) {