Do you want to request a feature or report a bug?
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.
What is the expected behavior?
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
It seems like you should be able to use the onChange handler to determine if text is being selected. There's an example of listening to a content change vs a selection in this comment. And another example in this thread.
Looks like this is resolved - please reopen if you have further questions.
Most helpful comment
It seems like you should be able to use the
onChangehandler to determine if text is being selected. There's an example of listening to a content change vs a selection in this comment. And another example in this thread.