Jifty::Plugin::WikiToolbar(3pm)

Jifty::Plugin::WikiToolbar3pm

Jifty plugin to add a wiki toolbar to your textarea box

Usage

In etc/config.yml

   Plugins:
     - WikiToolbar: {}

In your Model instead of

   render_as 'textarea';

use

   is WikiToolbar;

or you can custom rows size with

 sub Jifty::Plugin::WikiToolbar::Textarea::rows { return 15; };

To custom the toolbar, copy wikitoolbar.js in your application, at the end of the file put your changes with addButton function.

Overview

Add a toolbar to your textarea field. Default toolbar provide markdown markup syntax. http://daringfireball.net/projects/markdown/

Method

init

load wikitoolbar.js on startup

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Author

Yves Agostini, <[email protected]>

License

Copyright 2007-2010, Yves Agostini

This program is free software and may be modified and distributed under the same terms as Perl itself.

From libjifty-plugin-wikitoolbar-perl 1.00-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.