Anonymous User
(@anonymized-20801613)
If you activate plugin on a normal WordPress, does your custom block shows? I am asking this to identify, if this is a problem related to wp-env or directly to your code?
Just for the reference:
-
This reply was modified 2 years, 3 months ago by
Anonymous User.
Yes, when I’m using my plugin with normal wordpress(running with docker or Local) it shows my custom block and I can use it. When running with wp-env the plugin could be activated and deactivated, however, the block doesn’t come up.
Anonymous User
(@anonymized-20801613)
OK; so your code works. We have eliminated that. Now we need to see is it your code that does not work under wp-env or is it a bug with wp-env. Would it be possible that you would try any other custom block with your wp-env, or maybe try as simple as possible custom block, so you could see if it works under wp-env.
If another / simple custom block shows up under wp-env, then it’s easy. You just need to figure out which part of the code does not work with wp-env, fix/modify it and you are good to go.