[Bug] Cannot extend MUTABLE entity range in v0.10.5, works in v0.10.4 #1642
Description
What is the current behavior?
In v0.10.5 if you place the cursor at the end of a MUTABLE entity and type it does not expand the entity range. If you type in the middle it does.
Check the behaviour of the "Batman" entity in the entity example: https://github.com/facebook/draft-js/blob/master/examples/draft-0-10-0/entity/entity.html
What is the expected behavior?
In v0.10.4 if you type at the end or the middle of the entity range it expands the entity range. This is the desired behaviour I'm looking for.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Broken in > v0.10.5 and in current master. Works fine in v0.10.4 and below I think.
I've had a quick look through the commit range for v0.10.4...v0.10.5 but nothing immediately jumps out at me.
Not pressing I've just reverted to v0.10.4 for the meantime.