« MT-Autoban Headaches | Main | Testing Environment »

Quicktags for Comment Formatting

Today I added a slightly modified version of Alex King's JS Quicktags for formatting comments. Using instructions from Movalog, and styling options, I was able to produce formatting buttons that can enhance comment entries.

Download the modified code and upload to your blog's root folder.

Follow Arvind's instructions and insert into the individual entry and comment preview templates.

Adding this style to your stylesheet will give a variation on the buttons, although leaving off extra styling will allow it to fit into the current theme.


.quicktags {
   padding: 0px; 
   text-align: left
}

.quicktags input.ed_button {
   border: #d6d3ce 1px solid; 
   background: #f4f4f4; 
   margin: 1px; 
   font: 0.8em 'helvetica neue', 'helveticaneue', 'helvetica', 'lucida grande', 'arial', sans-serif; 
   width: auto; 
   color: #000000; }

.quicktags input.ed_button:focus {
   border: #686868 1px solid; 
   background: #ffffff; 
}

.quicktags #ed_strong {
   font-weight: bold
}

.quicktags #ed_em {
   font-style: italic
}


TrackBack

TrackBack URL for this entry:
http://www.bestoday.com.au/cgi-bin/mt/mt-tb.cgi/777

Leave a comment

Verification (needed to reduce spam):

September 2008

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

Subscribe

Enter your Email


Preview | Powered by FeedBlitz

Google AdSense

The Playground

DreamHost

GeoURL


Creative Commons License
This weblog is licensed under a Creative Commons License.