Rich Text Editor is overriding html tags added in source

We have a requirement to provide icon classes from BrXM. In source of Rich Text Editor when we add html tags with bootstrap or icon class and save the document, the content of rich text editor gets updated and it removes the classes added earlier.

Does anyone know how to fix this.

please see: