I have been working on a Sitecore 9 migration project. The client told us to use the existing html and stylesheets and use SXA as much as possible.
We have used RichText control in a few places but when the content author does any changes in the experience editor, the html gets removed.
Example:
<div class="media"> <a class="pull-left" href="#">
<img class="media-object" data-src="holder.js/64x64"></a>
<div class="media-body">
<h4 class="media-heading">Media heading</h4>
<div class="content" Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.></div>
</div>
</div>
Content author => open experience editor and changes the h4 title completely. It removes the html (h4 along with class).
How can we prevent that the html gets removed when the content author edits in the RTE? Is there any settings available for rich text editor in Sitecore?