When editing a text component using the inline rich text editor, if I delete a line break (merged 2 paragraphs into one) and then save and close the inline rich text editor, the next time I open that same text component and view its source(in the config editor), a 'span' tag gets added around the paragraph with a lot of unnecessary stylings which I don't want.
I tried performing the same steps on RTE locally. For me it is working fine when I merged the two paras, there are no extra spans added at all.
I am using AEM 6.5.5
resourceType :: cq/gui/components/authoring/dialog/richtext
Can you check you dont have any custom code changing the data before saving ?
A couple of quick questions: