Safari 15.0 - Window.getSelection

We have a WYSIWYG type editor (content editable), and in blur, we try to save the range:

sel = window.getSelection();
sel.getRangeAt(0); //throws error

sel.rangeCount is always 0 on blur ?!

RangeCount is always 0 now (was working fine before 15.0). Any ideas?

Same here!

works as intended for me...

Same for me, don't know why Apple suddently stop to support it.

Safari 15.0 - Window.getSelection
 
 
Q