As a result of a research (https://github.com/ckeditor/ckeditor5-engine/issues/315) we found out there is no selectionchange on Firefox by default (https://bugzilla.mozilla.org/show_bug.cgi?id=571294#c57), user need to change dom.select_events.enabled setting in the browser to enable it.
Therefore, selection observer (https://github.com/ckeditor/ckeditor5-engine/issues/310) will not properly without a polyfill (https://github.com/ckeditor/ckeditor5-engine/issues/315#issuecomment-212465509).
If Firefox will not support selectionchange soon we will need to introduce such polyfill in our code.
This makes for an iteration 3 ticket, because iteration 3 will be about browser compatibility.
It seems that selectionchange may land in Firefox veeeeery soon (https://bugzilla.mozilla.org/show_bug.cgi?id=1242718) so:
I gently asked FF team to release the feature https://bugzilla.mozilla.org/show_bug.cgi?id=1231923#c16 :D
The issue to track now is https://bugzilla.mozilla.org/show_bug.cgi?id=1309612. And the response is very promising https://bugzilla.mozilla.org/show_bug.cgi?id=1231923#c17 :)))
https://developer.mozilla.org/en-US/Firefox/Releases/52 – so the event will ship in March :)
FF 52 was released and everything is fine.
Most helpful comment
https://developer.mozilla.org/en-US/Firefox/Releases/52 – so the event will ship in March :)