UNPKG

jodit

Version:

Jodit is an awesome and useful wysiwyg editor with filebrowser

21 lines (20 loc) 689 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 modules/file-browser */ import type { HTMLTagNames, IDictionary, IFileBrowserItem, Nullable } from "../../../types/index"; /** * @private */ export declare const getItem: (node: Nullable<EventTarget>, root: HTMLElement, tag?: HTMLTagNames) => Nullable<HTMLElement>; /** * @private */ export declare const elementToItem: (elm: HTMLElement, elementsMap: IDictionary<{ elm: HTMLElement; item: IFileBrowserItem; }>) => IFileBrowserItem | void;