@mayur6740 thank you. I have a JS script enqueued correctly, but the code provided in the reference guides still has no effect. Other people have had this issue and solved it by using wp. domready() to call the unregister block function, but this does not work for me. I have also tried enqueueing the JS script with the wp-api, wp-blocks and wp-dom dependencies
edit: solution was found here using the block_type_metadata filter hook https://github.com/WordPress/gutenberg/issues/25330#issuecomment-2143405764
-
This reply was modified 1 month, 1 week ago by treytallent.
-
This reply was modified 1 month, 1 week ago by treytallent.
-
This reply was modified 1 month, 1 week ago by treytallent.