[wp-trac] [WordPress Trac] #51417: TinyMCE stripping <picture> tags

WordPress Trac noreply at wordpress.org
Wed Sep 30 13:28:37 UTC 2020

#51417: TinyMCE stripping <picture>  tags
 Reporter:  Grzegorz.Janoszka  |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  TinyMCE            |     Version:  5.5.1
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:

Comment (by azaozz):

 Thinking a bit more: `<picture>` will have to be "excluded" from wpautop,
 similarly to how `<pre>` is excluded, or chances are that there may be
 some stray `<br>` and/or `</p>` if there are line breaks before/after

Ticket URL: <https://core.trac.wordpress.org/ticket/51417#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list