CKEditor 4 Documentation

CKEDITOR.htmlParser.node

Subclasses

Files

A lightweight representation of HTML node.

Available since: 4.1

Defined By

Methods

Creates a node class instance. ...

Creates a node class instance.

Returns

CKEDITOR.htmlParser.node
view source
( condition ) : CKEDITOR.htmlParser.element
Gets the closest ancestor element of this element which satisfies given condition ...

Gets the closest ancestor element of this element which satisfies given condition

Available since: 4.3

Parameters

  • condition : String/Object/Function

    Name of an ancestor, hash of names or validator function.

Returns

CKEDITOR.htmlParser.node
view source
( ) : Number
Gets this node's index in its parent's children array. ...

Gets this node's index in its parent's children array.

Available since: 4.3

Returns

  • Number
CKEDITOR.htmlParser.node
view source
( node )
Insert this node after given one. ...

Insert this node after given one.

Available since: 4.1

Parameters

CKEDITOR.htmlParser.node
view source
( node )
Insert this node before given one. ...

Insert this node before given one.

Available since: 4.1

Parameters

CKEDITOR.htmlParser.node
view source
( )
Remove this node from a tree. ...

Remove this node from a tree.

Available since: 4.1

CKEDITOR.htmlParser.node
view source
( node )
Replace this node with given one. ...

Replace this node with given one.

Available since: 4.1

Parameters

CKEDITOR.htmlParser.node
view source
( wrapper ) : CKEDITOR.htmlParser.element
Wraps this element with given wrapper. ...

Wraps this element with given wrapper.

Available since: 4.3

Parameters

Returns