In reply to JJ.

I checkout that plugin. If you copy and paste the shortcode for the MaxButton into a Bucket it works fine. What's not working is their TinyMCE button auto pasting the shortcode. I think the reason this is, is how they are actually inserting code into the TinyMCE editor. Since this is an ACF field it's a slightly modified version of the default TinyMCE editor. So it has to do with an incompatibility with that. You could talk to the plugin creator maybe they can modify how they are inserting their shortcodes.

This is what I use:

tinyMCE.execCommand('mceInsertContent',false,'[bucket id="' + id + '" title="' + title + '"]');