I don't have an answer - but here are some thoughts:
The CMSObject is deprecated and will be removed in J6. It contains almost no useful functions. And it is not clear what you want it to contain. If you need to use a modal could you use a Bootstrap modal? https://docs.joomla.org/J4.x:Using_Boot ... n_Joomla_4
Could you make the button into a dropdown list with the available items listed as in any other dropdown list? There seem to be plenty of articles on how to create custom buttons for TinyMCE - I have never tried it myself.
The CMSObject is deprecated and will be removed in J6. It contains almost no useful functions. And it is not clear what you want it to contain. If you need to use a modal could you use a Bootstrap modal? https://docs.joomla.org/J4.x:Using_Boot ... n_Joomla_4
Could you make the button into a dropdown list with the available items listed as in any other dropdown list? There seem to be plenty of articles on how to create custom buttons for TinyMCE - I have never tried it myself.
Statistics: Posted by ceford — Sun Apr 21, 2024 8:08 am