jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
28 lines (27 loc) • 860 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/dtd
*/
import type { IDictionary } from "../../types/index";
declare module 'jodit/config' {
interface Config {
dtd: {
/**
* Remove extra br element inside block element after pasting
*/
removeExtraBr: boolean;
/**
* Check when inserting a block element if it can be inside another block element (according `blockLimits`)
*/
checkBlockNesting: boolean;
/**
* List of elements that contain other blocks
*/
blockLimits: IDictionary<1>;
};
}
}