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.
@rte @AEM
Views
Replies
Total Likes
@amohite hi,
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 ?
Thanks,
Milind
Hi @amohite
A couple of quick questions:
Thanks,
Kiran Vedantam.
I have tested on AEM 6.5.12 and We.retail Text component but no span tag has been added.
Please share .content.xml of your text component.
Like removing the P tag, you can also remove the Span tag. https://sourcedcode.com/blog/aem/aem-richtext-remove-p-tag-removesingleparagraphcontainer-for-touch-...
Views
Likes
Replies
Views
Likes
Replies