´óÏó´«Ã½

Please turn on JavaScript. To find out how to do this visit the .

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
| glow.dom.NodeList

Textarea HTML element that the Editor replaces on your page

opts
Type
onCommit

Event shortcut.

Type
Optional
Yes

See documentation below

theme

Visual Theme

Type
Default
"light"
Optional
Yes

Currently supported themes are "dark" and "light".

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
Type
glow.events.Event

Event Object

Documentation generated by 2.1.0 on Thu Jul 07 2011 12:47:29 GMT+0100 (BST)

´óÏó´«Ã½ iD

´óÏó´«Ã½ navigation

´óÏó´«Ã½ © 2014 The ´óÏó´«Ã½ is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.