Media: Wrap the embed screen's alignment setting in a div instead of a label to avoid default browser selection behavior. see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@22608 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4bb9a6150c
commit
7ce0c04466
@ -1682,7 +1682,7 @@ function wp_print_media_templates( $attachment ) {
|
||||
<input type="text" data-setting="alt" />
|
||||
</label>
|
||||
|
||||
<label class="setting align">
|
||||
<div class="setting align">
|
||||
<span><?php _e('Align'); ?></span>
|
||||
<div class="button-group button-large" data-setting="align">
|
||||
<button class="button" value="left">
|
||||
@ -1698,7 +1698,7 @@ function wp_print_media_templates( $attachment ) {
|
||||
<?php esc_attr_e('None'); ?>
|
||||
</button>
|
||||
</div>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="setting link-to">
|
||||
<span><?php _e('Link To'); ?></span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user