Skip to content

Commit df4702f

Browse files
committed
Remove missing protocol scheme fix
1 parent 12f6458 commit df4702f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/Embed/Gutenberg.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ public static function maybe_add_iframely_url_options($provider, $url, $args)
8888

8989
public static function inject_events_proxy_to_gutenberg($html, $url, $args)
9090
{
91-
$html = str_replace('"//cdn.iframe.ly', '"https://cdn.iframe.ly', $html);
92-
93-
if (!empty(trim($html))) { // != trims $html
91+
if (!empty(trim($html))) {
9492
return $html .
9593
'<style>body{overflow: hidden}</style>' .
9694
'<script type="text/javascript">window.addEventListener("message",function(e){window.top.postMessage(e.data,"*");},false);</script>';

0 commit comments

Comments
 (0)