AEM 6 | richtext xtype removing html element's attribute
Hi,
I have a component developed in AEM 6. one of the field has richtext as xtype. The issue I am facing is when I author this field with html data(using source edit), on the page some of the HTML element attributes are getting removed.
for example,
If I add below html code
<div data-hide="...">some content</div>
and when I veiw the source of finally rendered HTML page, data-hide property is missing!!
how to resolve this issue?