jodit-pro
Version:
PRO Version of Jodit Editor
18 lines (17 loc) • 721 B
TypeScript
/*!
* Jodit Editor PRO (https://xdsoft.net/jodit/)
* See LICENSE.md in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
*/
import type { AutoCompleteSource, IAutoCompleteItem } from "./interface";
declare module 'jodit/esm/config' {
interface Config {
autocomplete: {
maxItems: number;
isMatchedQuery: (query: string, value: string) => boolean;
itemRenderer: <T = any>(item: IAutoCompleteItem<T>) => string | HTMLElement;
insertValueRenderer: <T = any>(item: IAutoCompleteItem<T>) => string | HTMLElement;
sources: AutoCompleteSource[];
};
}
}