Monday, 15 March 2010

CkEditor deletes Bootstrap icons -



CkEditor deletes Bootstrap <i></i> icons -

we have site built on bootstrap.

certain html modules maintained ckeditor.

we utilize bootstrap icons according standard syntax, e.g.: <i class="icon-envelope"></i>.

our problem: ckeditor interprets syntax empty tag set (i.e., <i></i>) , deletes it.

as result, can't utilize bootstrap icons in html modules maintained ckeditor.

any solutions out there? thanks!

paste in ckeditor config file:

// allow tags empty (for font awesome) ckeditor.dtd.$removeempty['i'] = false

twitter-bootstrap ckeditor

No comments:

Post a Comment