[wp-trac] [WordPress Trac] #28940: TinyMCE strips out empty <i> tags, breaking font awesome

WordPress Trac noreply at wordpress.org
Mon Aug 10 07:31:47 UTC 2015


#28940: TinyMCE strips out empty <i> tags, breaking font awesome
-------------------------------------------------+-------------------------
 Reporter:  DonSailieri                          |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  TinyMCE                              |  Release
 Severity:  normal                               |     Version:  3.9.1
 Keywords:  has-patch needs-testing dev-         |  Resolution:
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by rcain):

 PS. adding to my comment above: as a workaround, i am using plugin
 shortcodes (in my case [fa class="fa fa-check"] or [icon name=icon-check]
 ) - which gets around the problem.

 therefore supposing the easiest general workaround for people is to define
 a similar shortcode for empty 'i' tags in their theme functions.php (if
 there isn't already one defined by plugins) - or else to produce a small
 standalone plugin to do similar.

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


More information about the wp-trac mailing list