/*! * 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 */ /** * [[include:plugins/clean-html/README.md]] * @packageDocumentation * @module plugins/clean-html */ import type { IJodit } from "../../types/index"; import { Plugin } from "../../core/plugin/plugin"; import "./config"; export declare class cleanHtml extends Plugin { /** @override */ buttons: Plugin['buttons']; constructor(jodit: IJodit); /** @override */ protected afterInit(): void; private get isEditMode(); /** * Clean HTML code on every change */ protected onChangeCleanHTML(): void; private currentSelectionNode; /** * Typing into an empty block (`


`) replaces its `
`, but the * browser keeps the `
` when the caret is in an invisible-space text * node in front of it, as Jodit leaves the caret in many of the empty * blocks it makes (a cleared editor, a heading in an empty table cell). * See #1632 */ protected onInputRemovePlaceholderBr(event: InputEvent | CompositionEvent): void; private walker; protected startWalker(): void; protected beforeCommand(command: string): void | false; /** * The value was sanitized in an inert document and has just been re-parsed * into the live editor with scripting on. Where the two parsers disagree * (`