Yahoo! UI Library

editor  2.8.0r4

Yahoo! UI Library > editor > YAHOO.widget.EditorInfo
Search:
 
Filters

static Class YAHOO.widget.EditorInfo

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

Properties

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

Methods

getEditorById

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

saveAll

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.
Parameters:
form <HTMLElement> The form to check if this Editor instance belongs to
Returns: void

toString

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


Copyright © 2009 Yahoo! Inc. All rights reserved.