SourceEditor

plugins/source.SourceEditor

Type parameters

Name
T

Hierarchy

constructor

new SourceEditor<T>(jodit, container, toWYSIWYG, fromWYSIWYG): SourceEditor<T>

Type parameters

Name
T

Parameters

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

Returns

SourceEditor<T>

Defined in

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

instance

instance: T

Defined in

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


className

className: string = ''

Defined in

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


jodit

Readonly jodit: IJodit

Defined in

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


container

Readonly container: HTMLElement

Defined in

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


toWYSIWYG

Readonly toWYSIWYG: CallbackFunction<any>

Defined in

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


fromWYSIWYG

Readonly fromWYSIWYG: CallbackFunction<any>

Defined in

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


isReady

isReady: boolean = false

Defined in

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

j

get j(): this["jodit"]

Short alias for this.jodit

Returns

this["jodit"]

Defined in

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

init

init(editor): void

Parameters

Name Type
editor IJodit

Returns

void

Defined in

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


replaceUndoManager

replaceUndoManager(): void

Returns

void

Defined in

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


onReadyAlways

onReadyAlways(onReady): void

Parameters

Name Type
onReady CallbackFunction<any>

Returns

void

Defined in

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