jQuery not working in the editor anymore after update

Support MB Blocks jQuery not working in the editor anymore after update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #47711
    gerdagerda
    Participant

    Hi!

    I updated MB Blocks from 1.4.0 to the latest version 1.7.4.
    Now jQuery is not working in the editor anymore.
    I can see that my .js files are still loading in the backend but the code doesn't get applied anymore.
    In the frontend, everything still works fine.

    Is there anything I need to do to make jQuery work in the editor after the update?

    I added the code for example like this:

    jQuery(document).on('mb_blocks_preview/gallery', function(){
    
    	// code goes here
    
    });
    #47715
    PeterPeter
    Moderator

    Hello Gerda,

    This issue has been reported here https://support.metabox.io/topic/mb_blocks_preview-not-working/
    and currently, it is not fixed yet.
    I will get back to you when it is included in an update of MB Blocks plugin.

    Thank you.

    #47718
    gerdagerda
    Participant

    Thank you for the info, Peter.

    So I can't use version 1.4.0 as is causing an issue where in the widgets area an error appears "This block has encountered an error and cannot be previewed.".

    I see this is fixed in the newest version but now I can't update to the newest version because of the broken editor preview.

    Is there any version where the issue in the widgets area is fixed but the editor preview is not broken yet? Can I access the different versions of MB Blocks anywhere?

    #47728
    PeterPeter
    Moderator

    Hello,

    Currently, we don't support downloading older versions of MB premium plugins. The development team is working on this issue and we will release an update to cover this issue as soon as possible.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.