AEM RTE Styles Plugin : Disable multi select
I followed the below AEM Doc to create a RTE Style Plugin. I am able to add multiple classes to the selected text. I am able to select more than one option at the same time from the style dropdown. Is there a way that can make styles plugin to not select more than one stye for any selected text?
https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/configuring-and-extending/configure-rich-text-editor-plug-ins#:~:text=Specify%20the%20available%20Styles%20in%20the%20pop%2Dup%20list