mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Widgets: move the chooser inside the selected widget so it inherits the width, add some keyboard shortcuts: tab to select, enter to append and escape to cancel. Props shaunandrews, see #25821
git-svn-id: https://develop.svn.wordpress.org/trunk@26271 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -407,11 +407,11 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) {
|
||||
</div>
|
||||
|
||||
<div id="widgets-chooser">
|
||||
<h3><?php _e( 'Choose an area to place this widget…' ); ?></h3>
|
||||
<h3><?php _e( 'Choose a sidebar:' ); ?></h3>
|
||||
<ul class="widgets-chooser-sidebars"></ul>
|
||||
<div class="widgets-chooser-actions">
|
||||
<button class="button-primary"><?php _e( 'Add Widget' ); ?></button>
|
||||
<button class="button-secondary"><?php _e( 'Cancel' ); ?></button>
|
||||
<button class="button-primary"><?php _e( 'Add Widget' ); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user