mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-03 08:40:10 +00:00
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:
@@ -135,6 +135,7 @@ window.wp = window.wp || {};
|
||||
iframe, iframeDoc, i, resize;
|
||||
|
||||
content.innerHTML = '';
|
||||
head = head || '';
|
||||
|
||||
if ( importStyles ) {
|
||||
if ( ! wp.mce.views.sandboxStyles ) {
|
||||
|
||||
Reference in New Issue
Block a user