• Resolved christihero

    (@christihero)


    The plugin’s custom widget feature is fantastic, but I’m having trouble embedding third-party content. I’m trying to add a widget that displays real-time stock prices, but the embedded script doesn’t load correctly.

    Instead, it shows a blank space where the widget should be. I’ve ensured the JavaScript is correct, and it works fine when added directly to a post or page.

    Could this be a conflict with the widget container’s settings or the plugin’s restrictions on external scripts?

Viewing 1 replies (of 1 total)
  • Plugin Contributor alexgso

    (@alexgso)

    Hello,

    Thanks for reaching out. We don’t impose any direct restrictions on embedding third party content, but it is possible embed scripts/code can be malformed by security efforts. For instance, WordPress by default will filter our usage of the iframe element in any TinyMCE instance and the SiteOrigin Editor widget uses that so it filters it out by proxy.

    When you inspect the page that has the embedded script present and view the blank space, is there any markup present there? (if you’re not familiar with your browser Inspect Element, this article provides a basic guide) In addition, is there anything present in your browser console? If the code was able to be saved, stored, and output and it’s still not working, it’s likely due to a browser security restriction and those will always be listed in the browser console.

    Kind regards,
    Alex

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.