AceEditor

plugins/source.AceEditor

Hierarchy

Implements

constructor

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

Parameters

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

Returns

AceEditor

Inherited from

SourceEditor.constructor

Defined in

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

className

className: string = 'jodit_ace_editor'

Overrides

SourceEditor.className

Defined in

src/plugins/source/editor/engines/ace.ts#21


instance

instance: Editor

Inherited from

SourceEditor.instance

Defined in

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


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/ace.ts#238


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/ace.ts#104


destruct

destruct(): any

Returns

any

Implementation of

ISourceEditor.destruct

Defined in

src/plugins/source/editor/engines/ace.ts#207


setValue

setValue(value): void

Parameters

Name Type
value string

Returns

void

Implementation of

ISourceEditor.setValue

Defined in

src/plugins/source/editor/engines/ace.ts#216


getValue

getValue(): string

Returns

string

Implementation of

ISourceEditor.getValue

Defined in

src/plugins/source/editor/engines/ace.ts#230


setReadOnly

setReadOnly(isReadOnly): void

Parameters

Name Type
isReadOnly boolean

Returns

void

Implementation of

ISourceEditor.setReadOnly

Defined in

src/plugins/source/editor/engines/ace.ts#234


focus

focus(): void

Returns

void

Implementation of

ISourceEditor.focus

Defined in

src/plugins/source/editor/engines/ace.ts#242


blur

blur(): void

Returns

void

Implementation of

ISourceEditor.blur

Defined in

src/plugins/source/editor/engines/ace.ts#246


getSelectionStart

getSelectionStart(): number

Returns

number

Implementation of

ISourceEditor.getSelectionStart

Defined in

src/plugins/source/editor/engines/ace.ts#250


getSelectionEnd

getSelectionEnd(): number

Returns

number

Implementation of

ISourceEditor.getSelectionEnd

Defined in

src/plugins/source/editor/engines/ace.ts#256


selectAll

selectAll(): void

Returns

void

Implementation of

ISourceEditor.selectAll

Defined in

src/plugins/source/editor/engines/ace.ts#262


insertRaw

insertRaw(html): void

Parameters

Name Type
html string

Returns

void

Implementation of

ISourceEditor.insertRaw

Defined in

src/plugins/source/editor/engines/ace.ts#266


setSelectionRange

setSelectionRange(start, end): void

Parameters

Name Type
start number
end number

Returns

void

Implementation of

ISourceEditor.setSelectionRange

Defined in

src/plugins/source/editor/engines/ace.ts#279


setPlaceHolder

setPlaceHolder(title): void

Parameters

Name Type
title string

Returns

void

Implementation of

ISourceEditor.setPlaceHolder

Defined in

src/plugins/source/editor/engines/ace.ts#283


replaceUndoManager

replaceUndoManager(): void

Returns

void

Overrides

SourceEditor.replaceUndoManager

Defined in

src/plugins/source/editor/engines/ace.ts#288


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