When I try to add a second button, the WYSIWYG editor on the second modal disables the visual mode, has transparent type, and the buttons are missing. I tried calling both buttons in the same function to eliminate add_action priority issues, I made sure I didn't duplicate any ids, I couldn't produce any js console log or PHP log errors, etc. It seems as though when the second new Shortcode_Button() is declared there is an issue with the javascript interactivity of that tinyMCE editor.
When I try to add a second button, the WYSIWYG editor on the second modal disables the visual mode, has transparent type, and the buttons are missing. I tried calling both buttons in the same function to eliminate add_action priority issues, I made sure I didn't duplicate any ids, I couldn't produce any js console log or PHP log errors, etc. It seems as though when the second new Shortcode_Button() is declared there is an issue with the javascript interactivity of that tinyMCE editor.