Hi Members,
We are facing an issue where <span> element is getting added to text with its own styling while dragging text within Rich Text (RTE) component.
In the below example, when I drag "world" to the end of line, span element got added.
BEFORE:
<p>world world
<a data-popemb="Pop-up" class="content-popup" href="/content/we-retail.html" target="_self" style="font-size: 0.955555em; background-color: rgb(255,255,255);">hello</a>
</p>
AFTER:
<p>world
<a data-popemb="Pop-up" class="content-popup" href="/content/we-retail.html" target="_self" style="font-size: 0.955555em; background-color: rgb(255,255,255);">hello</a>
<span style="font-size: 12.4222px;">world </span></p>
Could you please help in finding the root cause of the issue ?