Jesse Vincent > Jifty > Jifty::Plugin::WikiToolbar

Download:
Jifty-0.70824.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  13
Open  4
Stalled  1
View/Report Bugs
Source  

SYNOPSIS ^

In etc/config.yml

   Plugins:
     - WikiToolbar: {}

In your Model instead of

   render_as 'textarea';

use

  render_as 'Jifty::Plugin::WikiToolbar::Textarea';

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

DESCRIPTION ^

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

syntax highlighting: