• Resolved fresnohockshop

    (@fresnohockshop)


    Hello i started using metaslider a few weeks ago and it worked great as i was able to add slides with the block feature in Gutenberg. Recently though the block has disappeared and my slides are now saying that my site doesn’t support the metaslider block. Im still running the same theme so i’m not sure what changed. The Slides are still working but the ability to add new slides with blocks is not there.

    Any help would be great thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Metaslider Block no longer showing up’ is closed to new replies.