1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-14 03:03:58 +02:00

fix: focus loss inside Shadow DOM in Firefox. (#5676)

This commit is contained in:
Ivan Sysoi
2024-07-08 17:13:29 +03:00
committed by GitHub
parent 0dc5852da0
commit ec9e5f0a36
4 changed files with 23 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': minor
---
Changed behaviour of ReactEditor.findDocumentOrShadowRoot. It returns shadow root or document without checking for the existence of the getSelection method.