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.


git-svn-id: https://develop.svn.wordpress.org/trunk@39149 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
westonruter
2016-11-06 19:08:01 +00:00
parent 8e7ab859fd
commit 7f069a69dc
3 changed files with 52 additions and 1 deletions

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;