[wp-trac] Re: [WordPress Trac] #4843: Code editor should use monospace font

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 15 19:47:49 GMT 2008


#4843: Code editor should use monospace font
--------------------------------------+-------------------------------------
 Reporter:  hje1555                   |        Owner:  anonymous
     Type:  enhancement               |       Status:  closed   
 Priority:  normal                    |    Milestone:           
Component:  TinyMCE                   |      Version:           
 Severity:  normal                    |   Resolution:  wontfix  
 Keywords:  has-solution needs-patch  |  
--------------------------------------+-------------------------------------
Comment (by demetris):

 Please reconsider this, that is, changing to monospace the font used in
 the two instances of the non-visual post editor:

 1. The HTML tab next to the visual editor

 2. The plain text area that you get if you untick "Use the visual editor
 when writing" in your profile

 Why:

 When the non-visual mode is selected, the reason is probably markup:
 either manually entering markup or checking the markup; a proportional
 font is not convenient for this.

 btw, here is what I did to get a monospace font in the non-visual editor.
 In wp-admin/css/global.css, right under:

 {{{
 textarea, input, select {
     font: 13px Verdana, Arial, Helvetica, sans-serif;
     margin: 1px;
     padding: 3px;
 }
 }}}

 I added:

 {{{
 textarea {
     font: monospace;
 }
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4843#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list