Customize: Allow tab characters in custom CSS input.

Pressing `Esc` followed by `Tab` allows for tabbing to the next element.

Props afercia, coffee2code, westonruter.
See #35395.
Fixes #38667.

Built from https://develop.svn.wordpress.org/trunk@39149


git-svn-id: http://core.svn.wordpress.org/trunk@39089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter
2016-11-06 19:09:33 +00:00
parent 68b4181985
commit 5ea1e6fd80
8 changed files with 60 additions and 5 deletions

View File

@@ -1129,6 +1129,10 @@ p.customize-section-description {
margin-right: 10px;
margin-left: 10px;
}
#customize-theme-controls #sub-accordion-section-custom_css textarea {
-moz-tab-size: 4;
tab-size: 4;
}
#sub-accordion-section-custom_css .customize-control-notifications-container {
margin-bottom: 15px;

File diff suppressed because one or more lines are too long

View File

@@ -1129,6 +1129,10 @@ p.customize-section-description {
margin-left: 10px;
margin-right: 10px;
}
#customize-theme-controls #sub-accordion-section-custom_css textarea {
-moz-tab-size: 4;
tab-size: 4;
}
#sub-accordion-section-custom_css .customize-control-notifications-container {
margin-bottom: 15px;

File diff suppressed because one or more lines are too long