Gutenberg and Shopstyle Collective Widget Code Not Working
-
Hi,
When I try to add a widget code from Shopstyle Collective (affiliate marketing platform), Gutenberg always fails to save/publish the page.
Here’s an example of how the code looks:
<!– COLLECTIVE WIDGET CODE START –>
<div class=”shopsense-widget” style=”text-align:center” data-options=”%7B%22widgetId%22%3A%225d331cf65d9d7fb8944edcc2%22%2C%22pid%22%3A%22uid3600-37874560-57%22%2C%22url%22%3A%22https%3A%2F%2Fapi.shopstyle.com%2Fapi%2Fv2%22%7D”>
<script id=’shopsensewidget-script’ src=”//shopsensewidget.shopstyle.com/widget-script.js?cb=1563630590404″></script>
</div>
<!– COLLECTIVE WIDGET CODE END –>I add this into a HTML block, but I always get the notification that the page can’t be saved, or published.
This is related to Gutenberg, since I can add the aboce code in the regular (old) editor.
This is my website: https://www.janded.eu
I’m using WordPress 5.2.2Is there something I’m doing wrong or is it just a bug?
Hope it will get fixed eventually.
- The topic ‘Gutenberg and Shopstyle Collective Widget Code Not Working’ is closed to new replies.