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.
I have the latest settings, turned off plugins and still it wont let me add NEW buttons or edit OLD buttons….any other suggestions?
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 He (react-dom.min.js?ver=17.0.1:9:20641)
at je (react-dom.min.js?ver=17.0.1:9:21055)
at sa (react-dom.min.js?ver=17.0.1:9:115925)
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?
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
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.
I:ll wait for the update. Thanks for confirming the issue.
Please try with the latest update. It should work now!
Yes it is working now! Thanks for fixing the issue.
Hoorah! I’ll close this issue now.