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

The ID of the embedded content element is duplicated after the parent element is copied #947

Open
1 of 4 tasks
bubafinder opened this issue Jan 4, 2022 · 0 comments
Open
1 of 4 tasks
Labels
🚨 bug Something isn't working

Comments

@bubafinder
Copy link

I'm submitting a...

  • Bug report
  • Regression (a behavior that used to work and stopped working in a new release)
  • Feature request
  • Documentation issue or request

Steps to reproduce

  1. Copy a content element that contains the embedded content element. For example copy Accordion content element that contains HTML element.

Context

After the Accordion content element is copied, the ID of the embedded content element is duplicated causing issues:

  1. Duplicated toolbar on editing embedded elements
  2. Both embedded inputs are focused if any of them is edited (UI issue)
  3. Metadata on the embedded elements are duplicated causing any metadata that is changed on one of them is duplicated on the second

Screenshots

  1. Duplicated toolbar & both inputs are focused when editing any of them
    image
  2. ID of the first embedded element
    image
  3. ID of the second embedded element
    image
@bubafinder bubafinder added the 🚨 bug Something isn't working label Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant