react-medium-editor
react-medium-editor copied to clipboard
Fixes for strange behavior while typing text
These commits fixes three bugs:
- At first typing you can see sudden increasing text field height.
- Problems with text field updating. For example, you can reproduce it on a demo:
- select string
- apply "H2" to it
- set cursor to the end
- press Enter You will see that cursor stay in place. There are a lot of such strange behavior else..
- Also there are some cases when the component receives props several times, with old and new text. I've added a handling for these.