Support » Alpha/Beta/RC » WP 5.0 beta register_block_type not working

  • Resolved Jebble

    (@jebble)



    Hi there,

    I’m testing out custom Gutenberg blocks in the WP 5.0 beta and every block that works on WP 4.9.8 with the latest Gutenberg plugin doesn’t work in WP 5.0 beta.

    Even on a clean install of WP5.0-beta3 with no other plugins enabled and using the Twenty Nineteen theme the example on https://wordpress.org/gutenberg/handbook/blocks/writing-your-first-block-type/ generates the same Javascript errors

    TypeError: Cannot read property ‘addQueryArgs’ of undefined and some other similar errors.

    Is there anything that has changed with how register_block_type works that isn’t reflected in the Gutenberg handbook yet?

    It’s impossible to test anything if even the most static example from the handbook doesn’t work in the WP5.0 beta.

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