mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 17:53:59 +02:00
committed by
GitHub
parent
12ff246e10
commit
b01f931942
@@ -134,7 +134,7 @@ export const normalizeDOMPoint = (domPoint: DOMPoint): DOMPoint => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines wether the active element is nested within a shadowRoot
|
* Determines whether the active element is nested within a shadowRoot
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export const hasShadowRoot = (node: Node | null) => {
|
export const hasShadowRoot = (node: Node | null) => {
|
||||||
|
Reference in New Issue
Block a user