marmelab / aor-rich-text-input

<RichTextInput> component for admin-on-rest, useful for editing HTML code in admin GUIs
MIT License
23 stars 25 forks source link

Implement componentWillReceiveProps to update editor's value #13

Closed eduardyuzlikeev closed 6 years ago

eduardyuzlikeev commented 6 years ago

Currently RichTextInput is not updating if input value wasn't received in time on componentDidMount stage. This fix helped me to fix this problem, so I hope it will be useful in main component.

eduardyuzlikeev commented 6 years ago

After reading issues I found what this fix could resolve next problem https://github.com/marmelab/aor-rich-text-input/issues/3

djhi commented 6 years ago

Thanks!

prestontighe commented 6 years ago

This change causes a bug for us:

Bug