[wp-trac] [WordPress Trac] #38684: Improve the tab character width in the Plugins and Themes editor

WordPress Trac noreply at wordpress.org
Sun Nov 6 11:29:10 UTC 2016


#38684: Improve the tab character width in the Plugins and Themes editor
----------------------------+-----------------------------
 Reporter:  afercia         |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:  has-screenshots
  Focuses:                  |
----------------------------+-----------------------------
 In #38667 the Customizer is going to introduce the CSS property `tab-size`
 for the Custom CSS textarea. It allows to specify a value, for example an
 integer for the number of spaces, to represent the width of a tab
 character.

 The Plugins and Themes editor could use this property as well, to enhance
 the visual presentation of the code indentation within the editor. At the
 moment Firefox needs the prefixed version and there's no support in IE or
 Edge.

 Screenshot before:

 [[Image(https://cldup.com/x0QnpQp3Pj.png)]]

 and after setting `tab-size: 4`:

 [[Image(https://cldup.com/4PctiYo0yY.png)]]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38684>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list