[wp-trac] [WordPress Trac] #34994: HTML5 elements reformatted poorly switching between Visual & Text editors

WordPress Trac noreply at wordpress.org
Thu Dec 10 22:38:58 UTC 2015


#34994: HTML5 elements reformatted poorly switching between Visual & Text editors
----------------------------+-----------------------------
 Reporter:  kristarella     |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Editor          |    Version:  4.4
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 HTML5 elements get reformatted in weird ways when switching between Visual
 and Text (HTML) editors.

 Details tag (not fully supported in browsers yet, but still shouldn't
 receive this behaviour IMO) gets an additional   above and below it
 upon each switch.

 Section, article, and aside are all completely stripped of white space.
 This combined with the stripping of paragraph tags results in a block of
 run-together text within a couple of switches.

 Demo:
 [[Image(https://cldup.com/OA6dgTmyxU.gif)]]

 I used HTML5 elements from https://www.tinymce.com/docs/demo/format-html5/
 to test with.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34994>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list