[wp-trac] [WordPress Trac] #29288: Settings updated within the Customizer Preview are not synced up to main app Panel
WordPress Trac
noreply at wordpress.org
Wed Aug 20 20:05:44 UTC 2014
#29288: Settings updated within the Customizer Preview are not synced up to main
app Panel
-------------------------+-----------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: Customize | Version: 3.4
Severity: normal | Keywords: needs-patch
Focuses: javascript |
-------------------------+-----------------------------
The Customizer has two copies of models for the registered settings: one
set in in the Customizer panel parent frame, and changes to these result
in the settings getting copied over to the preview either via postMessage
or via a refreshing the preview entirely. Updating a setting model from
within preview directly, however, does not propagate up to the model.
There is currently a one-way-sync from the panel to the preview.
As a workaround, the preview can send messages to the panel for which
handlers can apply the updates to the settings, but it would be good if
this was automatic.
By implementing a bi-directional syncing of settings between the panel and
preview, there would be lots of opportunities for inline front-end editor
controls to more easily be added into the preview directly.
See also https://twitter.com/bradyvercher/status/502163462990995456
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29288>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list