[wp-trac] [WordPress Trac] #40974: Updated text widget do not save text
WordPress Trac
noreply at wordpress.org
Fri Jun 9 13:48:27 UTC 2017
#40974: Updated text widget do not save text
---------------------------+--------------------
Reporter: rinkuyadav999 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8.1
Component: Widgets | Version: 4.8
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+--------------------
Changes (by westonruter):
* keywords: => needs-patch
* milestone: Awaiting Review => 4.8.1
Comment:
Actually, I can reproduce this issue. If you switch switch to the Text tab
too quickly (in under a second specifically) after entering text into the
Visual editor, then the text won't get synced into the underlying hidden
due to the 1 second debouncing. That being said, it should also be syncing
the TinyMCE value upon blur as well.
Here is the underlying code: https://github.com/WordPress/wordpress-
develop/blob/4.8.0/src/wp-admin/js/widgets/text-widgets.js#L194-L198
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40974#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list