Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
CKEDITOR
dom
text
Class text
Hierarchy
node
text
Index
Constructor methods
constructor
Properties
$
type
Methods
appendTo
clearCustomData
clone
equals
getAddress
getAscendant
getCommonAncestor
getCustomData
getDocument
getIndex
getKey
getKeystroke
getLength
getNext
getNextSourceNode
getParent
getParents
getPhase
getPhaseOffset
getPosition
getPrevious
getPreviousSourceNode
getPrivate
getTarget
getText
getUniqueId
hasAscendant
hasNext
hasPrevious
insertAfter
insertBefore
insertBeforeMe
isReadOnly
ltrim
move
on
preventDefault
removeAllListeners
removeCustomData
replace
rtrim
setCustomData
setText
split
stopPropagation
substring
trim
Constructor methods
constructor
(
text
:
Text
, ownerDocument
?:
document
)
:
text
Parameters
text:
Text
ownerDocument?:
document
optional
Returns
text
constructor
(
text
:
string
, ownerDocument
?:
document
)
:
text
Parameters
text:
string
ownerDocument?:
document
optional
Returns
text
Properties
public
$
:
HTMLElement
public
type
:
number
Methods
public
appendTo
(
element
:
element
)
:
element
Parameters
element:
element
Returns
element
public
clearCustomData
(
)
public
clone
(
includeChildren
:
boolean
, cloneId
:
boolean
)
:
node
Parameters
includeChildren:
boolean
cloneId:
boolean
Returns
node
public
equals
(
object
:
any
)
:
boolean
Parameters
object:
any
Returns
boolean
public
getAddress
(
normalized
:
boolean
)
:
Array<Object>
Parameters
normalized:
boolean
Returns
Array<Object>
public
getAscendant
(
reference
:
string
, includeSelf
?:
boolean
)
:
node
Parameters
reference:
string
includeSelf?:
boolean
optional
Returns
node
public
getCommonAncestor
(
node
:
Object
)
Parameters
node:
Object
public
getCustomData
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
public
getDocument
(
)
:
document
Returns
document
public
getIndex
(
normalized
?:
boolean
)
:
number
Parameters
normalized?:
boolean
optional
Returns
number
public
getKey
(
)
:
number
Returns
number
public
getKeystroke
(
)
:
number
Returns
number
public
getLength
(
)
:
number
Returns
number
public
getNext
(
evaluator
?:
Function
)
:
node
Parameters
evaluator?:
Function
optional
Returns
node
public
getNextSourceNode
(
startFromSibling
:
Object
, nodeType
:
Object
, guard
:
Object
)
Parameters
startFromSibling:
Object
nodeType:
Object
guard:
Object
public
getParent
(
allowFragmentParent
?:
boolean
)
:
element
Parameters
allowFragmentParent?:
boolean
optional
Returns
element
public
getParents
(
closerFirst
?:
boolean
)
:
node
[]
Parameters
closerFirst?:
boolean
optional
Returns
node
[]
public
getPhase
(
)
:
number
Returns
number
public
getPhaseOffset
(
)
:
position
Returns
position
public
getPosition
(
otherNode
:
Object
)
Parameters
otherNode:
Object
public
getPrevious
(
evaluator
?:
Function
)
:
node
Parameters
evaluator?:
Function
optional
Returns
node
public
getPreviousSourceNode
(
startFromSibling
:
Object
, nodeType
:
Object
, guard
:
Object
)
Parameters
startFromSibling:
Object
nodeType:
Object
guard:
Object
public
getPrivate
(
)
:
any
Returns
any
public
getTarget
(
)
:
node
Returns
node
public
getText
(
)
:
string
Returns
string
public
getUniqueId
(
)
:
number
Returns
number
public
hasAscendant
(
name
:
Object
, includeSelf
:
any
)
:
boolean
Parameters
name:
Object
includeSelf:
any
Returns
boolean
public
hasNext
(
)
:
boolean
Returns
boolean
public
hasPrevious
(
)
:
boolean
Returns
boolean
public
insertAfter
(
node
:
node
)
:
node
Parameters
node:
node
Returns
node
public
insertBefore
(
node
:
node
)
:
node
Parameters
node:
node
Returns
node
public
insertBeforeMe
(
node
:
node
)
:
node
Parameters
node:
node
Returns
node
public
isReadOnly
(
)
:
boolean
Returns
boolean
public
ltrim
(
)
public
move
(
preserveChildren
?:
boolean
)
:
node
Parameters
preserveChildren?:
boolean
optional
Returns
node
public
on
(
eventName
:
string
, listenerFunction
:
(eventInfo: CKEDITOR.eventInfo) => void
, scopeObj
?:
Object
, listenerData
?:
Object
, priority
?:
number
)
:
Object
Parameters
eventName:
string
listenerFunction:
(eventInfo: CKEDITOR.eventInfo) => void
scopeObj?:
Object
optional
listenerData?:
Object
optional
priority?:
number
optional
Returns
Object
public
preventDefault
(
stopPropagation
:
boolean
)
Parameters
stopPropagation:
boolean
public
removeAllListeners
(
)
public
removeCustomData
(
key
:
string
)
:
Object
Parameters
key:
string
Returns
Object
public
replace
(
nodeToReplace
:
node
)
Parameters
nodeToReplace:
node
public
rtrim
(
)
public
setCustomData
(
key
:
string
, value
:
Object
)
:
domObject
Parameters
key:
string
value:
Object
Returns
domObject
public
setText
(
text
:
string
)
Parameters
text:
string
public
split
(
offset
:
number
)
:
text
Parameters
offset:
number
Returns
text
public
stopPropagation
(
)
public
substring
(
indexA
:
number
, indexB
:
number
)
Parameters
indexA:
number
indexB:
number
public
trim
(
)
Globals
CKEDITOR
CKEDITOR.ajax
CKEDITOR.dialog.definition
CKEDITOR.dom
CKEDITOR.htmlParser
CKEDITOR.plugins
CKEDITOR.plugins.link
CKEDITOR.plugins.widget
position
rangeListIterator
widthAndHeight
comment
document
documentFragment
domObject
element
elementPath
event
iterator
node
nodeList
range
rangeList
selection
text
constructor
$
type
appendTo
clearCustomData
clone
equals
getAddress
getAscendant
getCommonAncestor
getCustomData
getDocument
getIndex
getKey
getKeystroke
getLength
getNext
getNextSourceNode
getParent
getParents
getPhase
getPhaseOffset
getPosition
getPrevious
getPreviousSourceNode
getPrivate
getTarget
getText
getUniqueId
hasAscendant
hasNext
hasPrevious
insertAfter
insertBefore
insertBeforeMe
isReadOnly
ltrim
move
on
preventDefault
removeAllListeners
removeCustomData
replace
rtrim
setCustomData
setText
split
stopPropagation
substring
trim
walker
window