Global

instances

Const instances: IDictionary<IJodit> = {}

Defined in

src/core/global.ts#30


pluginSystem

Const pluginSystem: PluginSystem

Defined in

src/core/global.ts#53


modules

Const modules: IDictionary<Function> = {}

Defined in

src/core/global.ts#55


eventEmitter

Const eventEmitter: EventEmitter

Global event emitter

Defined in

src/core/global.ts#159

uniqueUid

uniqueUid(): string

Generate global unique uid

Returns

string

Defined in

src/core/global.ts#38


extendLang

extendLang(langs): void

Parameters

Name Type
langs IDictionary

Returns

void

Defined in

src/core/global.ts#57


getContainer

getContainer<T>(jodit, classFunc?, tag?, createInsideEditor?): HTMLElementTagNameMap[T]

Create unique box(HTMLCotainer) and remove it after destroy

Type parameters

Name Type
T extends HTMLTagNames = HTMLTagNames

Parameters

Name Type Default value
jodit IViewBased<IViewOptions> | IViewComponent<IViewBased<IViewOptions>> undefined
classFunc? string | Function undefined
tag T undefined
createInsideEditor boolean false

Returns

HTMLElementTagNameMap[T]

Defined in

jodit/src/core/global.ts:72