• Resolved mdempfle

    (@mdempfle)


    Hello,

    I’m the developer of advanced iframe. A user reported a problem to me that asap he enables your plugin then the advanced iframe block in the Gutenberg editor shows:
    “This block has encountered an error and cannot be previewed.”

    I can also reproduce the issue locally. You can reproduce this by installing your plugin and advanced iframe from the plugins directory. Then simply add an advanced iframe block on a new empty page. Then you see the error.
    Once your plugin is disabled the block is shown like before.

    I hope you can help to get both plugins working together.

    Best regards, Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alan Fuller

    (@alanfuller)

    Very strange as it wasn’t showing any useful console errors.

    I noticed in my dev version it was working, by a process of elimination it was related to the very standard register_block_type(). What is stange is that all that was different was where that code was positioned, despite still being on the init hook. I have no explanation why that would resolve it, but released a fix anyway.

    Thank you!

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