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

WordPress Trac noreply at wordpress.org
Thu Mar 27 23:12:41 UTC 2014


#23037: Want to use twitter-bootstrap icons, but TinyMCE strips them out
--------------------------+---------------------
 Reporter:  ruud@…        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  3.9
Component:  TinyMCE       |     Version:  3.5
 Severity:  blocker       |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by azaozz):

 Replacing <i> with <em> is a setting in TinyMCE, on by default. The same
 can be done for any html tags. Also any tag or attribute can be set to
 "invalid" and will be removed on cleanup.

 In the unit tests we are testing the handling of tags and attributes that
 are deprecated in html5 and using the default settings in TinyMCE. There
 are tests for changing the default settings, not exactly for the <i>/<em>
 and <b>/<strong> replacements.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23037#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list