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
I have created some custom editor components for modifying content that is rendered in Hugo short codes. I am able to add the custom editor components using the markdown editor, however when I go back to edit the page only some of the editor components are rendered.
Create a new content item in the CMS using the custom editor components that were added in step 1. You must add multiple of at least one of the components to trigger this bug. (Here is the content with 3 of the components in my content)
Save the page
Go to edit the page
Expected behavior
The 3 components should render with their editor component, but the second component shows only the code instead of the editor components.
Some things I've noticed trying to troubleshoot this:
If I remove the last component so there are only two on the page, both render fine. It seems to happen when I have multiple of the same type on the page.
If I change the order of calling registerEditorComponent so that component 2 is registered before component 1, then component 1 is the one that shows the code in the content instead of component 2.
I am receiving some warnings in the console that say Sent invalid data to remark
The text was updated successfully, but these errors were encountered:
Describe the bug
I have created some custom editor components for modifying content that is rendered in Hugo short codes. I am able to add the custom editor components using the markdown editor, however when I go back to edit the page only some of the editor components are rendered.
To Reproduce
Expected behavior
The 3 components should render with their editor component, but the second component shows only the code instead of the editor components.
Screenshots
Applicable Versions:
CMS configuration
Some things I've noticed trying to troubleshoot this:
registerEditorComponent
so that component 2 is registered before component 1, then component 1 is the one that shows the code in the content instead of component 2.Sent invalid data to remark
The text was updated successfully, but these errors were encountered: