[wp-trac] [WordPress Trac] #34254: Bug when using the HTML Tag "<progress></progress>" (only when switching to Visual Editor)

WordPress Trac noreply at wordpress.org
Mon Oct 12 09:26:48 UTC 2015


#34254: Bug when using the HTML Tag "<progress></progress>" (only when switching to
Visual Editor)
--------------------------+------------------------------
 Reporter:  Sprax2013     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by swissspidy):

 The visual editor only allows for a limited set of HTML elements.
 `<progress>` is kinda unusual and probably not allowed by default in
 TinyMCE. This sounds reasonable to me, as the `<progress>` alone isn't
 very useful.

 You can hook into the `tiny_mce_before_init` filter to modify the
 `extended_valid_elements` setting.

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


More information about the wp-trac mailing list