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#98
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#57
getValue
getValue(): string
Returns
string
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#61
setValue
setValue(raw
): void
Parameters
Name | Type |
---|---|
raw |
string |
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#65
insertRaw
insertRaw(raw
): void
Parameters
Name | Type |
---|---|
raw |
string |
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#69
getSelectionStart
getSelectionStart(): number
Returns
number
Implementation of
ISourceEditor.getSelectionStart
Defined in
src/plugins/source/editor/engines/area.ts#86
getSelectionEnd
getSelectionEnd(): number
Returns
number
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#90
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#94
focus
focus(): void
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#102
blur
blur(): void
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#106
setPlaceHolder
setPlaceHolder(title
): void
Parameters
Name | Type |
---|---|
title |
string |
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#110
setReadOnly
setReadOnly(isReadOnly
): void
Parameters
Name | Type |
---|---|
isReadOnly |
boolean |
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#114
selectAll
selectAll(): void
Returns
void
Implementation of
Defined in
src/plugins/source/editor/engines/area.ts#122
replaceUndoManager
replaceUndoManager(): void
Returns
void
Overrides
SourceEditor.replaceUndoManager
Defined in
src/plugins/source/editor/engines/area.ts#126
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