[wp-trac] [WordPress Trac] #28940: TinyMCE strips out empty <i> tags, breaking font awesome
WordPress Trac
noreply at wordpress.org
Tue Jun 19 11:59:16 UTC 2018
#28940: TinyMCE strips out empty <i> tags, breaking font awesome
-------------------------------------------------+-------------------------
Reporter: DonSailieri | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
| Release
Component: TinyMCE | Version: 3.9.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Comment (by Garavani):
Replying to [comment:13 NowComGreg]:
> I just came across this exact issue.
>
>
> As @lisota said, a fix for this is needed.
>
> A work around can be found here for now: http://stv.whtly.com/2014/07/19
/prevent-wordpress-tinymce-editor-removing-font-awesome-tags/
>
> Just add a comment tag inbetween the <i> like so
>
> <i class="fa fa-gamepad"><!-- icon --></i>
You are the man!
Many thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28940#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list