Files
cartlog-admin/node_modules/jodit/esm/plugins/wrap-nodes/config.d.ts
2026-01-01 15:25:19 +05:30

33 lines
972 B
TypeScript

/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy 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<HTMLTagNames>;
/**
* If the editor is empty, then insert an empty paragraph into it
* ```javascript
* Jodit.make('#editor', {
* wrapNodes: {
* emptyBlockAfterInit: true
* }
* });
* ```
* Default: `true`
*/
emptyBlockAfterInit: boolean;
};
}
}