Description
Do you want to request a feature or report a bug?
Report a bug.
What is the current behavior?
When the last (or first) block in the editor is atomic, it is not possible to use the Ctrl+A shortcut key to select all of the editor contents. Instead of selecting everything, the cursor moves to the beginning (or end, respectively) of the editor.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
See this fiddle: https://jsfiddle.net/robbertbrak/m52cpgnn/1/
What is the expected behavior?
I expect the 'select all' shortcut to work, regardless of what's in the editor.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
I'm using Draft 0.9.1. I could reproduce it with the latest Chrome and Firefox on Ubuntu 16.04, and MS Edge on Win10, but I think it is not browser dependent.