[wp-trac] [WordPress Trac] #36434: Consider TinyMCE's implementation of `contenteditable="false"` for views

WordPress Trac noreply at wordpress.org
Tue Jul 26 23:12:15 UTC 2016


#36434: Consider TinyMCE's implementation of `contenteditable="false"` for views
----------------------------+-------------------------
 Reporter:  iseulde         |       Owner:  iseulde
     Type:  task (blessed)  |      Status:  closed
 Priority:  high            |   Milestone:  4.6
Component:  TinyMCE         |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-------------------------
Changes (by azaozz):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38158"]:
 {{{
 #!CommitTicketReference repository="" revision="38158"
 TinyMCE, wpView:
 - Add the `wpview-wrap` class and pass third param to the getNodes()
 callback for back-compat.
 - Attach the mutation observer that resizes a view iframe inside the
 iframe to minimize memory use/leaks.
 - Remove the `wp-mce-view-unbind` event. It has never been particularly
 reliable and now it doesn't fire when the user deletes a view by typing or
 pasting over it.
 - Restore changing of a view iframe body classes when the editor body
 classes change.

 Props iseulde, azaozz.
 Fixes #36434.
 }}}

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


More information about the wp-trac mailing list