Yahoo! UI Library

editor  3.2.0

Yahoo! UI Library > editor > Plugin.EditorBidi
Search:
 
Filters

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

Properties inherited from Base:

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

Events inherited from Base:

Configuration attributes inherited from Base:


Copyright © 2010 Yahoo! Inc. All rights reserved.