mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-02 20:42:27 +02:00
Safari doesn't always remove the selection, even if the contenteditable element no longer has focus. In this scenario, we need to forcefully remove the selection on blur https://stackoverflow.com/questions/12353247/force-contenteditable-div-to-stop-accepting-input-after-it-loses-focus-under-web