• Resolved tedmw

    (@tedmw)


    When the plugin is enabled in WP 5.6 I see this error in the browser console:

    blocks.min.js: Block "core-embed/wordpress" is not registered.

    I believe it’s due to these recent changes to embed blocks:
    https://wordpress.stackexchange.com/a/379613/185703

    You’re currently using the old syntax in editor.js:

    wp.blocks.unregisterBlockType("core-embed/wordpress")

    Here’s the new syntax:

    wp.blocks.unregisterBlockVariation('core/embed', 'wordpress');

    Thanks!

    • This topic was modified 3 years, 10 months ago by tedmw.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘JS error due to ‘core/embed’ block refactoring’ is closed to new replies.