Version 1.7 glow.widgets.Editor
API Quick Reference
JavaScript is required to use the quick reference
A Rich Text Editor to allow text formatting with form inputs.
Widgets must be called in a
glow.ready() call.Further Info & Examples
Constructor
new glow.widgets.Editor(textarea, opts)Parameters
- textarea
- Type
- String | glow.dom.NodeList
Textarea HTML element that the Editor replaces on your page
- opts
- Type
- Object
Examples
var editor = new glow.widgets.Editor("#commentEntry");
Events
- commit
Fired whenever the associated textarea is updated by the editor.
Synopsis
glow.events.addListener(myEditor, "commit", function(event) { // ... });Arguments
- event
Event Object
Documentation generated by JsDoc Toolkit 2.1.0 on Thu Jul 07 2011 12:47:29 GMT+0100 (BST)