jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
19 lines (18 loc) • 918 B
TypeScript
/*!
* 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
*/
export * from "./move-node-inside-start";
export * from "./move-the-node-along-the-edge-outward";
/**
* Despite the name, returns `true` when the cursor is NOT at the checked edge
* of the text node: there is significant (non invisible-space) text between
* the offset and the start (`start = true`) or the end (`end = true`) of the string.
* @private
*/
export declare function cursorInTheEdgeOfString(container: Node, offset: number, start: boolean, end: boolean): boolean;
export declare function findCorrectCurrentNode(node: Node, range: Range, rightMode: boolean, isCollapsed: boolean, checkChild: boolean, child: (nd: Node) => Node | null): {
node: Node;
rightMode: boolean;
};