[wp-trac] [WordPress Trac] #32681: Shift-clicking a menu item in the website preview iframe should open it inside the customiser

WordPress Trac noreply at wordpress.org
Sat Jun 20 21:39:59 UTC 2015


#32681: Shift-clicking a menu item in the website preview iframe should open it
inside the customiser
-----------------------------+-----------------------------
 Reporter:  paulwilde        |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Customize        |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  javascript
-----------------------------+-----------------------------
Changes (by celloexpressions):

 * keywords:   => needs-patch
 * focuses:   => javascript
 * milestone:  Awaiting Review => Future Release


Comment:

 Implementation-wise, this should be as simple as sending up an event from
 the preview with the requested menu item id (which can be retrieved from
 its `<li>`'s id, then focusing the corresponding customizer control object
 via `api.control( id ).focus()`, which will automatically open the menu
 section to that control.

 This is 4.3 material if someone makes a patch soon. See widgets'
 implementation for inspiration.

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


More information about the wp-trac mailing list