/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net */ import type { HTMLTagNames, IDictionary, IJodit } from '../../types'; import { Plugin } from '../../core/plugin'; declare module '../../config' { interface Config { cleanHTML: { timeout: number; replaceNBSP: boolean; fillEmptyParagraph: boolean; removeEmptyElements: boolean; replaceOldTags: IDictionary | false; allowTags: false | string | IDictionary; denyTags: false | string | IDictionary; }; } } export declare class cleanHtml extends Plugin { buttons: Plugin['buttons']; protected afterInit(jodit: IJodit): void; private onChangeCleanHTML; private allowEdit; private visitNode; private static getHash; private allowTagsHash; private denyTagsHash; private onKeyUpCleanUp; private beforeCommand; private onRemoveFormat; private removeFormatForCollapsedSelection; private isInlineBlock; private removeFormatForSelection; private isRemovableNode; private static hasNotEmptyTextSibling; protected beforeDestruct(): void; }