On the first toggle out and to" /> On the first toggle out and to" /> On the first toggle out and to"/>

how to stop jodit from removing font awesome tags?

65 Views Asked by At

When I toggle in and out of source mode, jodit removes this font awesome code:

<i class="fa-li fa fa-check-circle"></i>

On the first toggle out and toggle into source mode, Jodit changes it to 'em'.

On the 2nd toggle in + out, the code just totally disappears. How do I get Jodit to stop doing that?

1

There are 1 best solutions below

0
Friendly Genius On

I fixed it by simply disabling cleanHTML plugin altogether.

cleanHTML: false.