Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
CKEDITOR
htmlParser
element
Class element
Hierarchy
node
element
Index
Constructor methods
constructor
Properties
attributes
children
name
type
Methods
add
clone
filter
filterChildren
forEach
getAscendant
getFirst
getHtml
getIndex
getOuterHtml
hasClass
insertAfter
insertBefore
remove
removeClass
replaceWith
replaceWithChildren
setHtml
split
wrapWith
writeChildrenHtml
writeHtml
Constructor methods
constructor
(
name
:
string
, attributes
:
Object
)
:
element
Parameters
name:
string
attributes:
Object
Returns
element
Properties
public
attributes
:
Object
public
children
:
Array<Object>
public
name
:
string
public
type
:
number
Methods
public
add
(
node
:
node
)
:
number
Parameters
node:
node
Returns
number
public
clone
(
)
:
element
Returns
element
public
filter
(
filter
:
filter
)
:
boolean
Parameters
filter:
filter
Returns
boolean
public
filterChildren
(
filter
:
filter
)
Parameters
filter:
filter
public
forEach
(
callback
:
(node: CKEDITOR.htmlParser.node, type?: number) => boolean
)
Parameters
callback:
(node: CKEDITOR.htmlParser.node, type?: number) => boolean
public
getAscendant
(
condition
:
string
)
:
element
Parameters
condition:
string
Returns
element
public
getAscendant
(
condition
:
Object
)
:
element
Parameters
condition:
Object
Returns
element
public
getAscendant
(
condition
:
Function
)
:
element
Parameters
condition:
Function
Returns
element
public
getFirst
(
condition
:
string
)
:
node
Parameters
condition:
string
Returns
node
public
getFirst
(
condition
:
Object
)
:
node
Parameters
condition:
Object
Returns
node
public
getFirst
(
condition
:
Function
)
:
node
Parameters
condition:
Function
Returns
node
public
getHtml
(
)
:
string
Returns
string
public
getIndex
(
)
:
number
Returns
number
public
getOuterHtml
(
)
:
string
Returns
string
public
hasClass
(
className
:
string
)
:
boolean
Parameters
className:
string
Returns
boolean
public
insertAfter
(
node
:
node
)
Parameters
node:
node
public
insertBefore
(
node
:
node
)
Parameters
node:
node
public
remove
(
preserveChildren
?:
boolean
)
:
node
Parameters
preserveChildren?:
boolean
optional
Returns
node
public
removeClass
(
className
:
string
)
Parameters
className:
string
public
replaceWith
(
node
:
node
)
Parameters
node:
node
public
replaceWithChildren
(
)
public
setHtml
(
html
:
string
)
Parameters
html:
string
public
split
(
index
:
number
)
:
element
Parameters
index:
number
Returns
element
public
wrapWith
(
wrapper
:
element
)
:
element
Parameters
wrapper:
element
Returns
element
public
writeChildrenHtml
(
writer
:
basicWriter
, filter
:
filter
)
Parameters
writer:
basicWriter
filter:
filter
public
writeHtml
(
writer
:
basicWriter
, filter
:
filter
)
Parameters
writer:
basicWriter
filter:
filter
Globals
CKEDITOR
CKEDITOR.ajax
CKEDITOR.dialog.definition
CKEDITOR.dom
CKEDITOR.htmlParser
CKEDITOR.plugins
CKEDITOR.plugins.link
CKEDITOR.plugins.widget
filterRulesDefinition
basicWriter
cdata
comment
cssStyle
element
constructor
attributes
children
name
type
add
clone
filter
filterChildren
forEach
getAscendant
getFirst
getHtml
getIndex
getOuterHtml
hasClass
insertAfter
insertBefore
remove
removeClass
replaceWith
replaceWithChildren
setHtml
split
wrapWith
writeChildrenHtml
writeHtml
filter
filterRulesGroup
fragment
node
text