Rechercher une page de manuel
Jifty::Plugin::WikiToolbar.3pm
Langue: en
Version: 2009-02-12 (ubuntu - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Jifty::Plugin::WikiToolbar - Jifty plugin to add a wiki toolbar to your textarea boxSYNOPSIS
In etc/config.ymlPlugins: - 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/METHOD
init
load wikitoolbar.js on startupAUTHOR
Yves Agostini, <yvesago@cpan.org>LICENSE
Copyright 2007-2008 Yves Agostini. All Rights Reserved.This program is free software and may be modified and distributed under the same terms as Perl itself.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre