WYM Editor Helper plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install svn://zuurstof.openminds.be/home/kaizer/svn/rails_stuff/plugins/wym_editor_helper
Put <%= wym_editor_initialize %> in the view that will host the text editing form.
Prefereably this goes into the HEAD section, to keep your html W3C valid.
I use <%= wym_editor_initialize unless !%w(new create edit update).include?(@controller.action_name) -%> in my layout.
This means the editor will only load when someone is creating or editing something.
In the form, instead of i.e. <%= text_area :article, :content %>, use <%= wym_editor :article, :content %>
OR add a 'wymeditor' class to the textarea, add a 'wymupdate' class to the submit button
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

