Interface: GetComposedRangesOptions
lexical.GetComposedRangesOptions
Options for the getComposedRanges() method. Allows specifying which shadow roots should be included when computing composed ranges.
Properties
shadowRoots
• Optional
shadowRoots: ShadowRoot
[]
Array of ShadowRoot objects to include in the composed range calculation. When specified, only ranges within these shadow roots will be returned.