# Yahoo! UI Library

### editor 3.3.0

Yahoo! UI Library > editor > Plugin.EditorBidi
Search:
Filters Show Private Show Protected Show Deprecated

## Class Plugin.EditorBidi - extends Base

Plugin for Editor to support BiDirectional (bidi) text operations.

### Constructor

Plugin.EditorBidi `( )`

### Properties

#### _NODE_SELECTED - `static object`

The data key to store on the node.

#### BLOCKS - `static object`

More elements may be needed. BODY *must* be in the list to take care of the special case. blockParent could be changed to use inst.Selection.BLOCKS instead, but that would make Y.Plugin.EditorBidi.blockParent unusable in non-RTE contexts (it being usable is a nice side-effect).

#### DIV_WRAPPER - `static object`

Template for creating a block element

#### EVENTS - `static object`

The events to check for a direction change on

#### firstEvent - `private object`

Tells us that an initial bidi check has already been performed

#### lastDirection - `private object`

Place holder for the last direction when checking for a switch

#### NAME - `static object`

editorBidi

#### NS - `static object`

editorBidi

#### Properties inherited from Plugin.Host:

`PluginHost`

#### Properties inherited from Attribute:

``

#### Properties inherited from Base:

`name`

### Methods

#### _afterMouseUp

`private void _afterMouseUp ( )`
Checks for a direction change after a mouseup occurs.

#### _afterNodeChange

`private void _afterNodeChange ( )`
Checked for a change after a specific nodeChange event has been fired.

#### _checkForChange

`private void _checkForChange ( )`
Method checks to see if the direction of the text has changed based on a nodeChange event.

#### addParents

`static void addParents ( )`
Generates a list of all the block parents of the current NodeList

#### blockParent

`static void blockParent ( )`
Returns a block parent for a given element

#### Methods inherited from EventTarget:

`_getType, _monitor, _parseType, addTarget, after, before, bubble, detach, detachAll, fire, getEvent, getTargets, on, once, parseType, publish, removeTarget, subscribe, unsubscribe, unsubscribeAll`

#### Methods inherited from Attribute:

`_addAttrs, _addLazyAttr, _defAttrChangeFn, _fireAttrChange, _getAttr, _getAttrCfg, _getAttrInitVal, _getAttrs, _getStateVal, _isLazyAttr, _normAttrVals, _protectAttrs, _set, _setAttr, _setAttrs, _setAttrVal, _setStateVal, addAttr, addAttrs, attrAdded, get, getAttrs, modifyAttr, removeAttr, reset, set, setAttrs`

#### Methods inherited from Plugin.Host:

`_destroyPlugins, _initPlugins, hasPlugin, plug, unplug`

#### Methods inherited from Base:

`_aggregateAttrs, _defDestroyFn, _defInitFn, _destroyHierarchy, _filterAttrCfs, _getAttrCfgs, _getClasses, _initHierarchy, _initHierarchyData, _preInitEventCfg, destroy, init, toString`

#### Events inherited from Base:

`destroy, destroyedChange, init, initializedChange,`

#### Configuration attributes inherited from Base:

`destroyed initialized`

Copyright © 2011 Yahoo! Inc. All rights reserved.