selectionchange-polyfill
selectionchange-polyfill copied to clipboard
A polyfill that fires selectionchange events for Firefox
use `Ctrl` in Firefox to start multiple selection, second range should be later in the DOM tree (so `window.getSelection.getRangetAt(0)` always returns the first range.
Hi ! I've used your code with requirejs, so I've added UMD support. Thank you.
In addition to previous issues with `contenteditable` field — event doesn't trigger on: - HOME button - END button - CTRL-Z and CTRL-Y hotkeys Chrome and IE handles it.