TextAreaEditor

plugins/source.TextAreaEditor

Hierarchy

Implements

constructor

new TextAreaEditor(jodit, container, toWYSIWYG, fromWYSIWYG): TextAreaEditor

Parameters

Name Type
jodit IJodit
container HTMLElement
toWYSIWYG CallbackFunction<any>
fromWYSIWYG CallbackFunction<any>

Returns

TextAreaEditor

Inherited from

SourceEditor.constructor

Defined in

src/plugins/source/editor/sourceEditor.ts#17

instance

instance: HTMLTextAreaElement

Inherited from

SourceEditor.instance

Defined in

src/plugins/source/editor/sourceEditor.ts#14


className

className: string = ''

Inherited from

SourceEditor.className

Defined in

src/plugins/source/editor/sourceEditor.ts#15


jodit

Readonly jodit: IJodit

Inherited from

SourceEditor.jodit

Defined in

src/plugins/source/editor/sourceEditor.ts#18


container

Readonly container: HTMLElement

Inherited from

SourceEditor.container

Defined in

src/plugins/source/editor/sourceEditor.ts#19


toWYSIWYG

Readonly toWYSIWYG: CallbackFunction<any>

Inherited from

SourceEditor.toWYSIWYG

Defined in

src/plugins/source/editor/sourceEditor.ts#20


fromWYSIWYG

Readonly fromWYSIWYG: CallbackFunction<any>

Inherited from

SourceEditor.fromWYSIWYG

Defined in

src/plugins/source/editor/sourceEditor.ts#21


isReady

isReady: boolean = false

Implementation of

ISourceEditor.isReady

Inherited from

SourceEditor.isReady

Defined in

src/plugins/source/editor/sourceEditor.ts#34

isFocused

get isFocused(): boolean

Returns

boolean

Implementation of

ISourceEditor.isFocused

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

ISourceEditor.init

Overrides

SourceEditor.init

Defined in

src/plugins/source/editor/engines/area.ts#26


destruct

destruct(): any

Returns

any

Implementation of

ISourceEditor.destruct

Defined in

src/plugins/source/editor/engines/area.ts#57


getValue

getValue(): string

Returns

string

Implementation of

ISourceEditor.getValue

Defined in

src/plugins/source/editor/engines/area.ts#61


setValue

setValue(raw): void

Parameters

Name Type
raw string

Returns

void

Implementation of

ISourceEditor.setValue

Defined in

src/plugins/source/editor/engines/area.ts#65


insertRaw

insertRaw(raw): void

Parameters

Name Type
raw string

Returns

void

Implementation of

ISourceEditor.insertRaw

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

ISourceEditor.getSelectionEnd

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

ISourceEditor.focus

Defined in

src/plugins/source/editor/engines/area.ts#102


blur

blur(): void

Returns

void

Implementation of

ISourceEditor.blur

Defined in

src/plugins/source/editor/engines/area.ts#106


setPlaceHolder

setPlaceHolder(title): void

Parameters

Name Type
title string

Returns

void

Implementation of

ISourceEditor.setPlaceHolder

Defined in

src/plugins/source/editor/engines/area.ts#110


setReadOnly

setReadOnly(isReadOnly): void

Parameters

Name Type
isReadOnly boolean

Returns

void

Implementation of

ISourceEditor.setReadOnly

Defined in

src/plugins/source/editor/engines/area.ts#114


selectAll

selectAll(): void

Returns

void

Implementation of

ISourceEditor.selectAll

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

ISourceEditor.onReadyAlways

Inherited from

SourceEditor.onReadyAlways

Defined in

jodit/src/plugins/source/editor/sourceEditor.ts:41