-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Row and Button blocks go missing when importing style.scss files on my own plugin #48
Comments
How did you register your blocks? Maybe they are using the same name as our blocks? And does your plugin have any relations to this plugin (like depending on it or something similar)? |
I just did what was stated on the documentation on wordpress. I am using block name 'button' but my plugin name is different from yours. No relation at all. |
Here is a sample
|
And does it also happen when you do not register your |
It is not the |
Ah now I get it. You're totally right, I could reproduce the described issue with another plugin which bases on |
Yes, and I guess I can close this one and wait for the outcome on that issue. Thanks for helping though. |
This issue should be solved with v2.3.1 (https://github.com/liip/bootstrap-blocks-wordpress-plugin/releases/tag/2.3.1) of the plugin. |
I created a plugin that has custom blocks for a certain website. But when I import a style.scss file and enqueue it. The Row and Button blocks from this plugin goes missing.
This is the error I get:
Uncaught TypeError: Cannot read property 'call' of undefined
at c (index.js?ver=130d186358a29f9f3f810962654c962a:1)
at Module. (index.js?ver=130d186358a29f9f3f810962654c962a:1)
at c (index.js?ver=130d186358a29f9f3f810962654c962a:1)
at o (index.js?ver=130d186358a29f9f3f810962654c962a:1)
at index.js?ver=130d186358a29f9f3f810962654c962a:1
at index.js?ver=130d186358a29f9f3f810962654c962a:1
This happens only when I do wp-scripts build command.
The text was updated successfully, but these errors were encountered: