YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Yahoo! UI Library

editor  2.8.0r4

Yahoo! UI Library > editor > YAHOO.widget.EditorInfo

static Class YAHOO.widget.EditorInfo

Singleton object used to track the open window objects and panels across the various open editors


_instances - private Object

A reference to all editors on the page.

blankImage - private String

A reference to the blankImage url

panel - private Object YAHOO.widget.Overlay

A reference to the currently open panel in any editor on the page.

window - private Object YAHOO.widget.EditorWindow

A reference to the currently open window object in any editor on the page.



getEditorById ( id )
Returns a reference to the Editor object associated with the given textarea
id <String/HTMLElement> The id or reference of the textarea to return the Editor instance of


void saveAll ( form )
Saves all Editor instances on the page. If a form reference is passed, only Editor's bound to this form will be saved.
form <HTMLElement> The form to check if this Editor instance belongs to
Returns: void


String toString ( )
Returns a string representing the EditorInfo.
Returns: String

Copyright © 2009 Yahoo! Inc. All rights reserved.