TextAreaEditor
plugins/source.TextAreaEditor
Hierarchy
-
SourceEditor
<HTMLTextAreaElement
>↳
TextAreaEditor
Implements
constructor
new TextAreaEditor(jodit
, container
, toWYSIWYG
, fromWYSIWYG
): TextAreaEditor
Parameters
Name | Type |
---|---|
jodit |
IJodit |
container |
HTMLElement |
toWYSIWYG |
CallbackFunction <any > |
fromWYSIWYG |
CallbackFunction <any > |
Returns
Inherited from
Defined in
src/plugins/source/editor/sourceEditor.ts#17
instance
instance: HTMLTextAreaElement
Inherited from
Defined in
src/plugins/source/editor/sourceEditor.ts#14
className
className: string
= ''
Inherited from
Defined in
src/plugins/source/editor/sourceEditor.ts#15
jodit
Readonly
jodit: IJodit
Inherited from
Defined in
src/plugins/source/editor/sourceEditor.ts#18
container
Readonly
container: HTMLElement
Inherited from
Defined in
src/plugins/source/editor/sourceEditor.ts#19
toWYSIWYG
Readonly
toWYSIWYG: CallbackFunction
<any
>
Inherited from
Defined in
src/plugins/source/editor/sourceEditor.ts#20
fromWYSIWYG
Readonly
fromWYSIWYG: CallbackFunction
<any
>
Inherited from
Defined in
src/plugins/source/editor/sourceEditor.ts#21
isReady
isReady: boolean
= false
Implementation of
Inherited from
Defined in
src/plugins/source/editor/sourceEditor.ts#34
isFocused
get
isFocused(): boolean
Returns
boolean
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#99
j
get
j(): this
["jodit"
]
Short alias for this.jodit
Returns
this
["jodit"
]
Inherited from
SourceEditor.j
Defined in
src/plugins/source/editor/sourceEditor.ts#27
init
init(editor
): any
Parameters
Name | Type |
---|---|
editor |
IJodit |
Returns
any
Implementation of
Overrides
Defined in
src/plugins/source/editor/engines/area.ts#26
destruct
destruct(): any
Returns
any
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#58
getValue
getValue(): string
Returns
string
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#62
setValue
setValue(raw
): void
Parameters
Name | Type |
---|---|
raw |
string |
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#66
insertRaw
insertRaw(raw
): void
Parameters
Name | Type |
---|---|
raw |
string |
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#70
getSelectionStart
getSelectionStart(): number
Returns
number
Implementation of
ISourceEditor.getSelectionStart
Defined in
src/plugins/source/editor/engines/area.ts#87
getSelectionEnd
getSelectionEnd(): number
Returns
number
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#91
setSelectionRange
setSelectionRange(start
, end?
): void
Parameters
Name | Type | Default value |
---|---|---|
start |
number |
undefined |
end |
number |
start |
Returns
void
Implementation of
ISourceEditor.setSelectionRange
Defined in
src/plugins/source/editor/engines/area.ts#95
focus
focus(): void
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#103
blur
blur(): void
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#107
setPlaceHolder
setPlaceHolder(title
): void
Parameters
Name | Type |
---|---|
title |
string |
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#111
setReadOnly
setReadOnly(isReadOnly
): void
Parameters
Name | Type |
---|---|
isReadOnly |
boolean |
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#115
selectAll
selectAll(): void
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#123
replaceUndoManager
replaceUndoManager(): void
Returns
void
Overrides
SourceEditor.replaceUndoManager
Defined in
src/plugins/source/editor/engines/area.ts#127
onReadyAlways
onReadyAlways(onReady
): void
Parameters
Name | Type |
---|---|
onReady |
CallbackFunction <any > |
Returns
void
Implementation of
Inherited from
Defined in
jodit/src/plugins/source/editor/sourceEditor.ts:41