Changing customStyleMap doesn’t trigger re-render until contentState is changed
#999 aperta il 7 feb 2017
Metriche repository
- Star
- (22.554 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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.