-
-
Notifications
You must be signed in to change notification settings - Fork 366
Open
Description
When ProseMirror adopts an element inside a Shadow DOM in Safari 10, an exception is thrown.
The reason appears to be that in Safari 10 the extensions to DocumentOrShadowRoot don't appear to have all been applied to the shadow root.
This means that in rangeToDOM, getSelection is undefined, which when invoked throws an exception.
var sel = this.pm.root.getSelection(),We've raised https://bugs.webkit.org/show_bug.cgi?id=163921 to track this against Safari.
Thinkscape, madeleineostoja, mscuthbert, leogreu and roman-kulakov
Metadata
Metadata
Assignees
Labels
No labels