RTE style - remove/disable span generation
Hi community,
We are running aem 6.5 SP8, will be upgrading to 12 shortly.
Is there any way to disable the span generation when using RTE styles? I mean some OOTB way of doing things, we are aware we can create a custom plugin for styles that would do the same thing, but I am trying to see if we can override the OOTB options.
Current:
<h2> <span class="some-class"> some text </span></h2>
Expected:
<h2 class="some-class"> some text </h2>
Thanks in advance.

