Yahoo! UI Library

editor  3.3.0

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

Class Plugin.EditorPara - extends Base

Plugin for Editor to paragraph auto wrapping and correction.

Constructor

Plugin.EditorPara ( )

Properties

d - object

This forced FF to redraw the content on backspace. On some occasions FF will leave a cursor residue after content has been deleted. Dropping in the empty textnode and then removing it causes FF to redraw and remove the "ghost cursors"

NAME - static object

editorPara

NS - static object

editorPara

Properties inherited from Plugin.Host:

Properties inherited from Attribute:

Properties inherited from Base:

Methods

_afterContentChange

private void _afterContentChange ( )
Performs a block element filter when the Editor after an content change

_afterEditorReady

private void _afterEditorReady ( )
Performs a block element filter when the Editor is first ready

_afterPaste

private void _afterPaste ( )
Performs block/paste filtering after paste.

_fixFirstPara

private void _fixFirstPara ( )
Utility method to create an empty paragraph when the document is empty.

_onNodeChange

private void _onNodeChange ( )
nodeChange handler to handle fixing an empty document.

Events inherited from Base:

Configuration attributes inherited from Base:


Copyright © 2011 Yahoo! Inc. All rights reserved.