BlockSuite API Documentation / @blocksuite/inline / inlineRangeToDomRange
Function: inlineRangeToDomRange()
inlineRangeToDomRange(
rootElement
,inlineRange
):Range
|null
calculate the dom selection from inline range for this Editor
Parameters
rootElement
HTMLElement
inlineRange
Returns
Range
| null
Defined in
packages/framework/inline/src/utils/range-conversion.ts:252