import { Editor, Range } from 'slate'; /** * The `Editor.unhangeRange` within Slate early exits if `Path.hasPrevious(end.path)` ie if this isn't a root block. * Unfortunately when you `setNode(..., {split:true})` or `wrapNodes()` you also have a hanging selection, but not in the root position. * * This c/p removes the `Path.hasPrevious(end.path)` from the early exit but it the same otherwise */ declare function unhangRange(editor: Editor, range: Range): Range; export default unhangRange; //# sourceMappingURL=unhangRange.d.ts.map