[wp-trac] [WordPress Trac] #2533: Click-down box for code snippets

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 5 20:10:51 GMT 2006


#2533: Click-down box for code snippets
--------------------------+-------------------------------------------------
       Id:  2533          |      Status:  new                     
Component:  Optimization  |    Modified:  Sun Mar  5 20:10:51 2006
 Severity:  enhancement   |   Milestone:                          
 Priority:  normal        |     Version:  2.0.1                   
    Owner:  anonymous     |    Reporter:  outchy                  
--------------------------+-------------------------------------------------
 It would be great to have a click-down box on the 'Write Post' page where
 you could create code snippets, save them and then be able to drag & drop
 them into the text editor.  If you use a Mac, you can see exactly what I'm
 talking about by downloading and trying out
 [http://macupdate.com/info.php/id/15114/ Smultron].

 So as an example, I could save the following code under the title 'Image
 Shadow':

 <div class="img-left">
 <img src="./images/image_01.jpg" alt="My house" /></div>
 <br clear="all" />

 Then, all I would have to do is click-down the Snippets box, drag the word
 'Image Shadow' onto the text editor and the full code would appear.  This
 would be tremendously handy.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2533>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list