Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin seems to clone the current contents of another container #24

Open
boaty82 opened this issue Nov 2, 2021 · 1 comment
Open

Plugin seems to clone the current contents of another container #24

boaty82 opened this issue Nov 2, 2021 · 1 comment

Comments

@boaty82
Copy link

boaty82 commented Nov 2, 2021

Please see the attached video, but to describe

We have a page, with a number of components. One of which has a container, and within it a component.

When I first edit this page, and add a new container it seems to clone the component from the original and unrelated row.

If I then add another container, the new container appears empty - which is expected

0.9.6.webm.zip

@boaty82
Copy link
Author

boaty82 commented Nov 2, 2021

I've forked your project and created a branch and committed an example of it not working.

on FR

  • go to issue-24 page
  • Page -> Tools
  • add container to grid-section-2
  • save
  • go to CMS console and FR preview and to issue-24 page

see that container has been added to grid-section-2 but also it appears to have cloned the simple-doc from the grid-section-1

delete FR preview from CMS console and return to CMS exp
on FR

  • go to issue-24 page
  • Page -> Tools
  • add row to grid-section-2
  • save
  • go to CMS console and FR preview and to issue-24 page

see that container has been added to grid-section-2 and it's empty

So some sort of mapping by node name must be in place, but it's not respecting the hierarchy they live within

boaty82@759e161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant