From bcaa28009116ea167a4f074f919f1e47900bd811 2017-06-15 00:31:32 From: darkmorford Date: 2017-06-15 00:31:32 Subject: [PATCH] Merge pull request #1 from mt-admin allow-iframes Enable iframes in static pages --- diff --git a/edit-page.php b/edit-page.php index 617baa5..7e54768 100644 --- a/edit-page.php +++ b/edit-page.php @@ -75,7 +75,8 @@ tinyMCE.init({ theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_path_location : "bottom", - extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]", + extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]," + + "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],iframe[frameborder|height|src|width|scrolling|allowfullscreen]", theme_advanced_blockformats : "p,h3,h4,h5,h6" });