Changing customStyleMap doesn’t trigger re-render until contentState is changed
#999 aberto em 7 de fev. de 2017
Métricas do repositório
- Stars
- (22.554 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Do you want to request a feature or report a bug? Bug.
What is the current behavior?
After customStyleMap is changed, nothing happens until contentState is changed.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem..
Check it out here: https://jsfiddle.net/m6z0xn4r/125/
What is the expected behavior?
#52 suggests that this exact problem has been cleared up. Regression?? Or am I not understanding how to do the thing?
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js? Latest, macOS, seems like all browsers. Dunno about previous versions.