[wp-trac] [WordPress Trac] #40974: Updated text widget do not save text (when using paste) (was: Updated text widget do not save text)

WordPress Trac noreply at wordpress.org
Wed Jul 5 22:23:11 UTC 2017


#40974: Updated text widget do not save text (when using paste)
-------------------------------------------------+-------------------------
 Reporter:  rinkuyadav999                        |       Owner:
     Type:  defect (bug)                         |  westonruter
 Priority:  normal                               |      Status:  accepted
Component:  Widgets                              |   Milestone:  4.8.1
 Severity:  normal                               |     Version:  4.8
 Keywords:  has-patch needs-testing reporter-    |  Resolution:
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by westonruter):

 @rinkuyadav999 thanks, I can reproduce that. So it seems specifically to
 be a problem when pasting content into the widget. It seems when `paste`
 happens, the editor's dirty state is not changed. So I've manually
 implemented that in [attachment:40974.1.diff]. Please test.

 @azaozz Please review, as there may be a TinyMCE defect here.

 PR: https://github.com/xwp/wordpress-develop/pull/237

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


More information about the wp-trac mailing list