Jifty::Plugin::WikiToolbar - Jifty plugin to add a wiki toolbar to your textarea box
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.
Add a toolbar to your textarea field. Default toolbar provide markdown markup syntax. http://daringfireball.net/projects/markdown/
load wikitoolbar.js on startup
Yves Agostini, <yvesago@cpan.org>
Copyright 2007-2010, Yves Agostini
This program is free software and may be modified and distributed under the same terms as Perl itself.
To install Jifty::Plugin::WikiToolbar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty::Plugin::WikiToolbar
CPAN shell
perl -MCPAN -e shell install Jifty::Plugin::WikiToolbar
For more information on module installation, please visit the detailed CPAN module installation guide.