• Resolved Larrian

    (@larrian)


    I tried adding a new maxbutton to this page ( even a blank gutenberg page) and the select button does not work. If I have a classic page it works fine so this is unique to gutenberg blocks. I even created a blank page in gutenberg editor and nothing happens when trying to select a button. I disabled plugins and could not find a conflict with any of the new plugins ( 2) so would appreciate your help.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    Hi,

    I’m assuming you have the latest version of maxbuttons. I checked and everything works fine on my gutenberg installation. Perhaps there is some conflict around.

    You can try to see the developer view (F12) en check the console while clicking the select button and see if any errors show up.

    Are you using any plugins to remove scripts / styles? The maxbuttons block requires a script to be loaded.

    Thread Starter Larrian

    (@larrian)

    I have the latest settings, turned off plugins and still it wont let me add NEW buttons or edit OLD buttons….any other suggestions?

    Thread Starter Larrian

    (@larrian)

    This is what I got in lighthouse…

    react-dom.min.js?ver=17.0.1:9 Uncaught TypeError: $(…).wpdialog is not a function
    at maxMedia.openModal (media_button.js?ver=9.5.1:68:29)
    at t.value (blocks.build.js?ver=9.5.1:1:5401)
    at Object.ha (react-dom.min.js?ver=17.0.1:9:95935)
    at B (react-dom.min.js?ver=17.0.1:9:9748)
    at react-dom.min.js?ver=17.0.1:9:20547
    at He (react-dom.min.js?ver=17.0.1:9:20641)
    at je (react-dom.min.js?ver=17.0.1:9:21055)
    at react-dom.min.js?ver=17.0.1:9:26614
    at sa (react-dom.min.js?ver=17.0.1:9:115925)
    at react-dom.min.js?ver=17.0.1:9:22452
    at Xe (react-dom.min.js?ver=17.0.1:9:22481)
    at ge (react-dom.min.js?ver=17.0.1:9:16385)
    at me (react-dom.min.js?ver=17.0.1:9:15622)
    at unstable_runWithPriority (react.min.js?ver=17.0.1:9:7431)
    at xn (react-dom.min.js?ver=17.0.1:9:29950)
    at ua (react-dom.min.js?ver=17.0.1:9:115665)

    so is this a problem with the plugin?

    Thread Starter Larrian

    (@larrian)

    I have 2 websites using the plugin and both have the same error codes…and no new buttons can be added and no old can be revised

    Plugin Author Bas Schuiling

    (@basszje)

    Thanks for posting the whole error, that helps a lot. I can see you probably have TablePress active since it seems connected with that. When disabling it everything would probably work, so that could be a temporary solution while we figure out the cause of it.

    Another solution can be to disable maxbuttons, go to plugin editor, find the plugin. Go to js – media_button.js and remove line 67 and line 68:

    if (typeof window.tp !== 'undefined') // TablePress Fix.
    $( '#advanced-editor' ).wpdialog( 'close' );

    Save and reactivate the plugin and it should work again. As said, we’ll be working on a plugin update with a more permanent solution.

    Thread Starter Larrian

    (@larrian)

    I:ll wait for the update. Thanks for confirming the issue.

    Plugin Author Bas Schuiling

    (@basszje)

    Please try with the latest update. It should work now!

    Thread Starter Larrian

    (@larrian)

    Yes it is working now! Thanks for fixing the issue.

    Plugin Author Bas Schuiling

    (@basszje)

    Hoorah! I’ll close this issue now.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Gutenberg Maxbutton not working’ is closed to new replies.