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: InlineRange
Returns ​
Range | null
Source ​
packages/inline/src/utils/range-conversion.ts:249
Generated using typedoc-plugin-markdown and TypeDoc