Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Polyfill ShadowRoot.getSelection when not available
FIX: The `root` accessor on views now makes sure that, when it returns a shadow root, that object has a `getSelection` method. See https://discuss.prosemirror.net/t/prosemirror-inside-a-shadowroot/2387
- Loading branch information