Trying to edit an exposed code component's code immediately after creating a new code component keeps navigating to the newly edited code component's editor route.
Steps to reproduce:
- Make sure you have at least one exposed code component. (Note: Exposed code components are the ones added to Components in the Library — exposed for content editors for using in content.)
- Create a new code component. Make at least one change to the new code component's code
- Use the contextual menu for an exposed code component, choose Edit code.
- Notice that the UI navigates back to editing the code of your new code component.
- You can even edit the code of another internal (not yet exposed) component, then do #3, and still run into the problem.
The problem only goes away when you refresh the page or exit the code editor by clicking the component's name in the header.
Issue fork experience_builder-3537843
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
bnjmnmComment #5
bnjmnmComment #6
bnjmnmComment #7
bnjmnmCurrent MR does not allow creating multiple components, will get that fixed
Comment #8
bnjmnmFixed the multiple-add issue, back to MR
Comment #10
hooroomooComment #12
hooroomoo