[wp-trac] [WordPress Trac] #28108: Outdenting a list item fails to generate the correct structure until source view is visited.

WordPress Trac noreply at wordpress.org
Sat May 3 04:25:41 UTC 2014


#28108: Outdenting a list item fails to generate the correct structure until source
view is visited.
--------------------------------+-----------------------------
 Reporter:  gallantfish         |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  TinyMCE             |    Version:  3.9
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 IT WORKS FINE, if you inspect the code. Once you come back the list is
 correct.

 But the current list being altered by JS stays wrong and the formatting
 depending on its good structure fails.

 The JS seems to just remove the UL surrounding the target li, leaving it
 INSIDE the parent, which gives you li > li instead of li > ul > li

 It works FINE in fiddle.tinymce.com

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


More information about the wp-trac mailing list