jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
20 lines (19 loc) • 702 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/backspace
*/
import type { IJodit, Nullable } from "../../types/index";
/**
* Finds the nearest neighbor that would be in the maximum nesting depth.
* Ie if neighbor `<DIV><SPAN>Text` then return Text node.
* @private
*/
export declare function findMostNestedNeighbor(node: Node, right: boolean, root: HTMLElement, onlyInlide?: boolean): Nullable<Node>;
/**
* @private
*/
export declare function getMoveFilter(jodit: IJodit): (node: Node) => boolean;