[added] getRootBlocksAtRange & getRootInlinesAtRange

This commit is contained in:
Jack Allen
2019-02-26 14:31:07 +00:00
parent 83ca0329f7
commit 14ddfefc32
+2
View File
@@ -461,6 +461,8 @@ declare class BaseNode<
getPreviousNode(path: Path): Node | null;
getPreviousSibling(path: Path): Node | null;
getPreviousText(path: Path): Text | null;
getRootBlocksAtRange(range: Range): Immutable.List<Block>;
getRootInlinesAtRange(range: Range): Immutable.List<Block>;
getSelectionIndexes(
range: Range,
isSelected?: boolean