You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Resolves a {@link PMLocation} to a {@link Point} or {@link Range}, depending on if the {@link PMLocation} points to a single block or a range of blocks.
115
+
*/
115
116
exportfunctionresolvePMToLocation(
116
117
doc: Node,
117
118
pmLocation: PMLocation,
@@ -167,3 +168,34 @@ export function resolvePMToLocation(
167
168
},
168
169
};
169
170
}
171
+
172
+
/**
173
+
* Returns the block's {@link PMLocation} at the given {@link Location}
0 commit comments