#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# editor Module

User Guide & Examples
Defined in: `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:

- EditorBase
- EditorSelection
- ExecCommand
- Frame
- Plugin.CreateLinkBase
- Plugin.EditorBidi
- Plugin.EditorBR
- Plugin.EditorLists
- Plugin.EditorPara
- Plugin.EditorParaBase
- Plugin.EditorParaIE
- Plugin.EditorTab
- Plugin.ExecCommand

This module is a rollup of the following modules:

- 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-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
  Plugin for the frame module to handle execCommands for Editor
- 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