Unable to edit a page
-
I am no longer able to edit pages with a custom HTML embed (in my specific case, it’s a twitch embed, see code below). It appears that the style information never gets loaded in the editor (see https://i.imgur.com/PfmVrPb.png – left side is a page that works, right side loads a blank screen).
Here is the custom HTML I am using:
<!-- Add a placeholder for the Twitch embed --> <div id="twitch-embed"></div> <!-- Load the Twitch embed script --> <script src="https://player.twitch.tv/js/embed/v1.js"></script> <!-- Create a Twitch.Player object. This will render within the placeholder div --> <script type="text/javascript"> new Twitch.Player("twitch-embed", { channel: "catmasterop" }); </script>
Is there any way I can edit this page to remove the embed? Would temporarily disabling Gutenberg and then re-enabling it break the rest of my site?
Edit: Further info – there appears to be an error in the highlighted line: https://i.imgur.com/HQtaadw.png
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.