Content last modified Monday 6 March 2017
hop to #bottom
Current version:
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!


Finaly got the chance to finish this. This plugin was designed to make using textile in comment forms simpler. Basically it provides the user leaving the comment with simple buttons to insert the textile formating code in for them.


hak_textile_tags will generate a formatting bar similar to the quicktags found in wordpress except instead of html it will insert textile tags.


<txp:hak_textile_tag />

will generate a div that will hold all the controls. By default it will insert the tags in a textarea named “message" since that is the default texpattern comment form textarea.

<txp:hak_textile_tag textarea="canvas" />

allows you to specify what textarea to use as the canvas. It will look for textareas by name and by id so you can use either one.

Style Information

The Textile bar has a few default classes to allow you to style it however you want (buttons can’t be styled in Safari unfortunately).

The div that holds the buttons has an id of edtoolbar .

All buttons have two default classes: ed_button and ed_button_pressed, this allows you to create a selected look for the buttons.

Each button also has an extra class using its its tag to allow you to target them indovidually. For example ed_strong, ed_emphasis, ed_link, ed_image. This should allow for some image replacement techiniques, or simply having the strong button be bold.

Article Request Count:
Initially released:
Posted here:
05 Apr 2005
Article modified:
02 Nov 2006

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Commenting is closed for this article.

Commented (1)

Can’t actually update this since davidm created the original post.

Version 0.1.1 is now available that fixes a bug in Opera. Current users are encouraged to upgrade.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.




There are also tag clouds, 'cause those are fun.
Published with Textpattern