Hi @fresnohockshop,
Thanks for letting us know, I’ll get a fix out soon.
Hi @fresnohockshop,
Still looking into it, but I think this might be an error in Gutenberg. If you don’t mind, can you report any errors you find in the developer console?
https://updraftplus.com/faqs/how-do-i-open-my-browsers-developer-tools/
Can you also state the Gutenberg version and WP version you have?
Further, can you disable MetaSlider and see if the errors in the console still appear?
Thanks!
Hi,
I am testing Metaslider 3.10.2 after an article posted in WPtavern. Seems to be a powerful plugin ! Congratulations
With WP 5.0-RC1-43946, impossible to find the metaslider block in post edit blocks. In the mean time, must use shortcode workaround š
Hope that help you !
Cheers
Some errors are visible in JS console when metaslider is active :
TypeError: undefined is not an object (evaluating ‘d.InspectorControls’)
editor-block-3-10.js: with number 151, 55, 28, 29 and more
Hi,
We have a fix in testing now and will make a release early next week. If you want to fix it now, you can open admin/Gutenberg.php and change the text wp-blocks to wp-block-library.
Basically WP changed the script name which we use as a dependency, so we need to update the name in our code. We are making another tweak as well, so it we want to make sure we test the changes internally.
(if you make the change manually it wont break anything when you go to update later)
Thanks for your quick answer. This latish wp change is surprising ! It announces a lot of work for our plugins š
Cheers
Hi,
After change, all is working well – thanks (oooh – your filename has a first uppercase letter !)
As plugin developer since 10 years, I just begin with sublime text to use phpcs with coding standards. It is a hard work š The code become more readable – What do you think of that ?
Cheers
Hi @michelwppi,
Great to hear it’s working!
We have our own internal code style guide, but we inherited MetaSlider which used a different approach, so we only update to our style guide when we update/add a method, etc.
There are other code style guides you can follow too. I often use this one as well in projects outside our WP plugin company.
Hi,
Iām going to mark this as resolved, but please feel free to comment or open a new issue if needed, thanks!