Support » Plugin: Disable Embeds » JS error due to ‘core/embed’ block refactoring

  • Resolved 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:

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


    Here’s the new syntax:

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


    • This topic was modified 1 year, 8 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.