[wp-trac] [WordPress Trac] #27366: Clean up layout of "Image details" section in the media modal

WordPress Trac noreply at wordpress.org
Tue Apr 1 22:14:31 UTC 2014


#27366: Clean up layout of "Image details" section in the media modal
----------------------------+--------------------
 Reporter:  eablokker       |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  ui
----------------------------+--------------------

Comment (by gcorne):

 [attachment:27366-07.patch 27366-07.patch] refactors how the tinymce DOM
 is updated when a change is made via the modal. Instead of replacing DOM
 nodes, the patch manipulates the nodes, which means that updating an
 image, caption, or image link doesn't stomp on any custom attributes that
 the user may have added via the Text editor or some other mechanism.

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


More information about the wp-trac mailing list