Class Plugin.EditorPara
- extends Base
Plugin for Editor to paragraph auto wrapping and correction.
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"
Properties inherited from Base:
Methods
private
void
_afterContentChange
(
)
Performs a block element filter when the Editor after an content change
private
void
_afterEditorReady
(
)
Performs a block element filter when the Editor is first ready
private
void
_afterPaste
(
)
Performs block/paste filtering after paste.
private
void
_fixFirstPara
(
)
Utility method to create an empty paragraph when the document is empty.
private
void
_onNodeChange
(
)
nodeChange handler to handle fixing an empty document.
Methods inherited from EventTarget:
_getType,
_monitor,
_parseType,
addTarget,
after,
before,
bubble,
detach,
detachAll,
fire,
getEvent,
getTargets,
on,
once,
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 Base:
_aggregateAttrs,
_defDestroyFn,
_defInitFn,
_destroyHierarchy,
_filterAttrCfs,
_getAttrCfgs,
_getClasses,
_initHierarchy,
_initHierarchyData,
_preInitEventCfg,
destroy,
init,
toString
Events inherited from Base:
Configuration attributes inherited from Base: