Empty content on first load #3
Comments
Can't reproduce the issue. Could you provide a simplified test case? |
I'm with the If I'm not wrong |
|
What is the status of this? It seems to be still open as far as I am concerned. |
I solved the problem by using another rich text editor. The problem seems to be that the rerendering of the component (happens multiple times on first draw) with changing values for the rich text input is not properly handled by the rich text editors. See instructure-react/react-tinymce#21 |
I experienced the same issue, and this is a workaround: { props.record.field_name? <RichTextInput source="field_name" /> : null} it makes sure your data is available before rendering your RichTextInput |
Coming from the listing, the field is empty. After hitting refresh button, the field is filled.
If I log the value received in
componentDidMount
, I see it's empty the first time and not the second one.The text was updated successfully, but these errors were encountered: