/*! * 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 plugins/wrap-nodes */ import type { HTMLTagNames } from "../../types/index"; declare module 'jodit/config' { interface Config { wrapNodes: { /** * List of tags that should not be wrapped * Default: `new Set(['hr', 'style', 'br'])` */ exclude: Set; /** * If the editor is empty, then insert an empty paragraph into it * ```javascript * Jodit.make('#editor', { * wrapNodes: { * emptyBlockAfterInit: true * } * }); * ``` * Default: `true` */ emptyBlockAfterInit: boolean; }; } }