You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I am using @contentful/field-editor-rich-text in a contentful app, version 2.1.0 and I have some problems with rerendering.
Basically I am rendering a set of tabs and each tab has an instance of @contentful/field-editor-rich-text:
When the component first renders it works great, but as soon as I change tab, the editor disappears and never reappears even when I return to the original tab. When the page is reloaded the editor reappears, only to disappear again as soon as a new tab is selected.
I also tried to render all the editors together without tabs: what happens is that all the editors have the content of the last rendered editor, which is not ideal.
Is there something I'm doing wrong when rendering the editors? Or is this a bug of the editor? Version 1 did not have this problem using the same code structure, but it did have problems selecting the text and changing it.
The text was updated successfully, but these errors were encountered:
Hi all,
I am using @contentful/field-editor-rich-text in a contentful app, version 2.1.0 and I have some problems with rerendering.
Basically I am rendering a set of tabs and each tab has an instance of @contentful/field-editor-rich-text:
When the component first renders it works great, but as soon as I change tab, the editor disappears and never reappears even when I return to the original tab. When the page is reloaded the editor reappears, only to disappear again as soon as a new tab is selected.
I also tried to render all the editors together without tabs: what happens is that all the editors have the content of the last rendered editor, which is not ideal.
Here is the full Field component
Is there something I'm doing wrong when rendering the editors? Or is this a bug of the editor? Version 1 did not have this problem using the same code structure, but it did have problems selecting the text and changing it.
The text was updated successfully, but these errors were encountered: