slate-react
Advanced tools
Comparing version 0.110.0 to 0.110.1-20240912175838
@@ -143,2 +143,7 @@ import { BaseEditor, Editor, Node, Path, Point, Range } from 'slate'; | ||
suppressThrow: T; | ||
/** | ||
* The direction to search for Slate leaf nodes if `domPoint` is | ||
* non-editable and non-void. | ||
*/ | ||
searchDirection?: 'forward' | 'backward'; | ||
}) => T extends true ? Point | null : Point; | ||
@@ -145,0 +150,0 @@ /** |
@@ -92,2 +92,10 @@ /** | ||
export declare const getActiveElement: () => DOMElement | null; | ||
/** | ||
* @returns `true` if `otherNode` is before `node` in the document; otherwise, `false`. | ||
*/ | ||
export declare const isBefore: (node: DOMNode, otherNode: DOMNode) => boolean; | ||
/** | ||
* @returns `true` if `otherNode` is after `node` in the document; otherwise, `false`. | ||
*/ | ||
export declare const isAfter: (node: DOMNode, otherNode: DOMNode) => boolean; | ||
//# sourceMappingURL=dom.d.ts.map |
{ | ||
"name": "slate-react", | ||
"description": "Tools for building completely customizable richtext editors with React.", | ||
"version": "0.110.0", | ||
"version": "0.110.1-20240912175838", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/ianstormtaylor/slate.git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2914790
43504