The WordPress 2.0.6 release now has support for Safari in the quick-tags script, as well as a number of other bugfixes.

I have gone back and updated my update to the script, which adds some more functionality to this handy script.

So what does it do?


Adds in a number of additional buttons, namely headings H3 and H4 (used as subheadings within a post), quote, small, big, superscript, subscript, and a block of code (inserts pre class="code" and code tags).

It also adds in a drop down list of special symbols, that inserts the proper HTML entity at the cursor location, which is useful for forign languages and mathematical symbols. Current symbols are: non-breaking-space, ™, ©, <, >, ×, ¼, ½, ¾, €, ×, °, ², ³, à, á, è, é, ì, í, ò, ó, ù, ú, À, Á, È, É, Ì, Í, Ò, Ó, Ù, Ú, ç, Ç.

As Safari has built in spell-checking I removed the lookup word button, to re-enable this, uncomment line 351. To show the and functions, uncomment lines
190-198 and 199-208 respectively.

Show Me!


The original script adds the following buttons to the top of the write post box: original quicktags screenshot

The edited script in Firefox: revised quicktags screenshot in Firefox

The edited script in Safari: revised quicktags screenshot in Safari

How do I get this on my blog?

This is not a Plugin, but it’s easy to install if you have FTP access to your site. Simply download the updated file. Inside the .zip file is quicktags.js a javascript file that should be placed in the /wp-includes/js/ directory, replacing the original file (which you may wish to rename). That is it!

As usual, this is provided as-is, and I take no responsibility for your blog disappearing or being infested by spam.

Hope this is of use to some people. I cannot claim any credit for the original quick tags script, that goes to Alex King and the WordPress developers.

1 Comment »

  1. [...] I could type all of those links and name tags, but that is tedious, and well that is what Wordpress is for, facilitation of ease, lest our time, full of code bleeds over into the rest of our lives… ooops! Anyway I fixed up my quicktags.js file to help me out. I started with the new and improved quicktags to begin with so your line numbers might not match if you decide to follow along. In your favorite editor, bust open quicktags.js and start the surgery. Need I tell you to make a copy before you destroy yours? If you are not familiar with the gets of your Wordpress install (I had to look it up too!), you can find it here: [your wordpress root]/wp-includes/js/quicktags.js [...]

    Pingback by Worpress Quicktags Anchor Tag Button at My Life Pixelated — 12-Mar-2007 @ 07:28

RSS feed for comments on this post. TrackBack URL

Leave a comment