I have custom RTE plugins for the touch UI component and sometimes all the plugins are rendering fine and sometimes not. I have my custom RTE clientlibs under the component. This issue happens only in higher environments, not in my local. Provided screenshots below for references. Any suggestions would be helpful.
RTE with custom plugins (local instance):
In a higher environment(custom plugin is missing):
Possible cause would be conflict of JS - See if the custom RTE plugins are dependent on Coral UI 2 or Coral UI 3.
Look for "Source" section in Developer tools as you load the page and the component with RTE. (Complete JS files. In particular, OOTB JS files that are loaded in higher environment and lower environment) and also the console errors.
Can you please compare first your files(Ex: - Service Packs, any custom files) between lower environment (Ex:- Local Instance where its working fine) and higher environment to check for any mismatch. Also please check for logs(AEM and Console Logs) that is able to give you any meaningful information about why it is failing.