API Docs for: 3.8.0
Show:

editor Module

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 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