[wp-trac] [WordPress Trac] #23037: Want to use twitter-bootstrap icons, but TinyMCE strips them out

WordPress Trac noreply at wordpress.org
Fri Dec 21 10:13:34 UTC 2012


#23037: Want to use twitter-bootstrap icons, but TinyMCE strips them out
-----------------------------+-----------------------------
 Reporter:  ruud@…           |       Type:  feature request
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Editor
  Version:  3.5              |   Severity:  normal
 Keywords:                   |
-----------------------------+-----------------------------
 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 &nbsp; 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?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23037>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list