Opened 5 months ago
Closed 5 months ago
#23037 closed defect (bug) (duplicate)
Want to use twitter-bootstrap icons, but TinyMCE strips them out
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | TinyMCE | Version: | 3.5 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The 3.5 tinyMCE editor strips out empty HTML tags.
In this way I cannot use bootstrap-icon as per instructions from the twitter-bootstrap page:
http://twitter.github.com/bootstrap/base-css.html#icons
It works correctly when I use a or regular space within the <i> tags.
Might there be a way in which TinyMCE does not strip out empty html elements, when a class or classes is set on this element?
Change History (3)
Note: See
TracTickets for help on using
tickets.

Changed to defect (bug), because it might as well be.
In the 3.4.2 editor the <i> tags are converted to <em> elements, but aren't stripped out when empty. So I guess when other users open up there content into the 3.5 editor some content styling add-ons via empty elements will get stripped out.