[wp-trac] [WordPress Trac] #12204: Allow indenting/tabbing in the plugin/theme editors
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 14 17:47:30 UTC 2010
#12204: Allow indenting/tabbing in the plugin/theme editors
----------------------------+-----------------------------------------------
Reporter: nacin | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.0
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------------------------------
Changes (by azaozz):
* status: closed => reopened
* resolution: fixed =>
Comment:
Don't think we need yet another external JS file (and the
maintenance/support that comes with it) just for typing tabs in textareas.
Also this plugin doesn't add support for the tab key, it uses it as a one
key shortcut to indent/outdent text blocks which is different from most
text editors and unexpected for most users.
Pros:
* somehow buggy support for tabs in textareas.
Cons:
* yet another external file to maintain.
* far too large at 10KB (the needed code is about 700 bytes).
* buggy in IE6
* sometimes adds empty lines and/or spaces
Think we will be better off with a small function that "types" tab in the
themes and plugins editors textareas.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12204#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list