UNPKG

jodit

Version:

Jodit is an awesome and useful wysiwyg editor with filebrowser

15 lines (14 loc) 873 B
/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net */ /** * @module plugin */ import type { HTMLTagNames, IJodit, IViewBased, IViewComponent, Nullable, PluginInstance, PluginType } from "../../../types/index"; /** * Init plugin if it has no dependencies, in another case wait requires plugins will be init * @private */ export declare function init(jodit: IJodit, pluginName: string, plugin: PluginType, instance: PluginInstance, doneList: Map<string, Nullable<PluginInstance>>, waitingList: Set<string>, getContainer: <T extends HTMLTagNames = HTMLTagNames>(jodit: IViewBased | IViewComponent, classFunc?: Function | string, tag?: T, createInsideEditor?: boolean) => HTMLElementTagNameMap[T]): void;