JS conflict with other Blocks Plugins. Related to @wordpress/scripts - webpack runtime issue
CP-Antoine opened this issue · comments
Hi Liip team,
First, thanks a lot for your plugin.
I had JS conflict issue with your plugin and another one (that I coded based on @wordpress/create-block
package).
Your site doesn't includes support for the "wp-bootstrap-blocks/container".
You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.
To reproduce
Steps to reproduce the behavior:
- Using WordPress 5.5.3, with TwentyTwenty.
- Install and activate the
bootstrap-blocks-wordpress-plugin
, as the only activated plugin. - Add a
wp-bootstrap-blocks/container
block and Save - Generate the out of the box
esnext-example
plugin usingnpx @wordpress/create-block
- Do
npm run build
on this plugin - Install and activate this plugin
- Try to edit the page where block was added previously
I manage to get all blocks plugin to work together with the workaround described here:
WordPress/gutenberg#23607 (comment)
Thanks a lot for your detailed issue. I‘ll try to look into it as soon as possible. We already had a very similar issue: #48. I‘ll come back to you as soon as I have more information.
I could finally look into this issue. It will be fixed in the next release of the plugin (v3.1.1).
We‘ve just released v3.1.1 of the plugin which fixes the described bug.