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

WordPress Trac noreply at wordpress.org
Tue Feb 4 23:50:13 UTC 2014


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

Comment (by azaozz):

 > Our 3.5 schema was extremely forgiving and I have trouble believing this
 is the only regression.

 This is not a regression. It was originally patched after we patched the
 schema. It is specifically to not replace <i> with <em> and <b> with
 <strong> which has been the default behavior since TinyMCE 2.0 was
 released back in 2006. I believe that was done to promote the use of
 [http://en.wikipedia.org/wiki/Semantic_HTML Semantic HTML], the same
 reason the Text editor inserts <em> when the `i` button is clicked.

 A good way to ensure HTML 4 compatibility is to make unit tests for it,
 see #27014.

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


More information about the wp-trac mailing list