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

A Rich Text Editor to allow text formatting with form inputs.

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
theme

Visual Theme

Type
String
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
Documentation generated by JsDoc Toolkit 2.1.0 on Mon Jul 06 2009 11:47:13 GMT+0100 (BST)

BBC © 2014The BBC 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.