• Resolved mickaelperrin

    (@mickaelperrin)


    EmbedPress uses script tags in some embeds:

    • instagram
    • fite
    • sutori
    • issuu
    • scribd

    The script tags are automatically removed on saved by WordPress. It looks ok when inserted the first time in the gutemberg editor, but the page on the front is broken.

    I did tests only with instagram but the behaviour was to have the phrase:

    Instagram will load in the frontend.

    When looking at the code the script tag: <script async src=”//www.instagram.com/embed.js”></script> was removed.

    Note that using a shortcode with the instagram url works as expected.

    It would be great to update the plugin, so that the content inserted is a shortcode or to find a way to circumvent that issue.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Sadman Sakib Nadvi

    (@sadmansakibnadvi)

    Dear @mickaelperrin,

    Greetings.

    The current appearance of the Instagram embed from the Gutenberg editor is as follows. We have just included this message. However, we acknowledge this and plan to make improvements in the near future. Furthermore, we aim to introduce new layouts for single posts.

    We appreciate your communication. Wishing you a productive day.

    Thread Starter mickaelperrin

    (@mickaelperrin)

    Thanks for the answer.

    Just to be sure, you understood that the instagram single post embed doesn’t work at all ?

    The problem is not the layout of the temporary message displayed, it’s that this message is never replaced by the embed, due to the fact the script tag is wiped on save.

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