editor Module
Defined in:
yui3/src/editor/js/lists.js:2
Base class for Editor. Handles the business logic of Editor, no GUI involved only utility methods and events.
var editor = new Y.EditorBase({
content: 'Foo'
});
editor.render('#demo');
This module provides the following classes:
This module is a rollup of the following modules:
-
content-editable
Creates a component to work with an elemment.
-
createlink-base
Adds prompt style link creation. Adds an override for the createlink execCommand.
-
editor-base
Base class for Editor. Handles the business logic of Editor, no GUI involved only utility methods and events. var editor = new Y.EditorBase({ content: 'Foo' }); editor.render('#demo');
-
editor-bidi
Plugin for Editor to support BiDirectional (bidi) text operations.
-
editor-br
Plugin for Editor to normalize BR's.
-
editor-inline
Base class for InlineEditor. Instead to use an iframe, uses content editable element via ContentEditable Plugin. var editor = new Y.InlineEditor({ content: 'Foo' }); editor.render('#demo');
-
editor-lists
Handles list manipulation inside the Editor. Adds keyboard manipulation and execCommand support. Adds overrides for the insertorderedlist and insertunorderedlist execCommands.
-
editor-para
Plugin for Editor to paragraph auto wrapping and correction.
-
editor-para-base
Base Plugin for Editor to paragraph auto wrapping and correction.
-
editor-para-ie
Extends EditorParaBase with IE support
-
editor-tab
Handles tab and shift-tab indent/outdent support.
-
exec-command
Static object literal of execCommand overrides
-
frame
Creates a wrapper around an iframe. It loads the content either from a local file or from script and creates a local YUI instance bound to that new window and document.
-
selection
Wraps some common Selection/Range functionality into a simple object