[wp-trac] [WordPress Trac] #38667: Allow tab characters in custom CSS input

WordPress Trac noreply at wordpress.org
Fri Nov 4 15:33:17 UTC 2016


#38667: Allow tab characters in custom CSS input
----------------------------+-------------------------
 Reporter:  helen           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.7
Component:  Customize       |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  javascript
----------------------------+-------------------------

Comment (by westonruter):

 It's a similar problem to pressing Enter to create a new line in messaging
 apps, where often it's a preference for whether Enter submits, and/or the
 user hits Shift+Enter to create a new line. Unfortunately this same
 “shifty” paradigm won't work for Tab since Shift+Tab means to go to the
 previous field.

 The `textarea` could have Tab capturing off by default. Then once the user
 focuses on the field and enters any character (other than Tab) the Tab
 capturing can be started so that literal Tab characters can be entered.
 Then if the user wants to get out of that `textarea` they could hit Esc to
 disable Tab capturing to restore normal behavior of tabbing between
 fields. There would need to be some help text explaining this.

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


More information about the wp-trac mailing list