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

slideout matrix field content autosave #12073

Merged
merged 4 commits into from
Oct 10, 2022

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Oct 7, 2022

Description

Matrix content save wasn't working past first autosave, when editing in a slideout (in other cases it worked as expected).
In src/web/assets/cp/src/js/ElementEditor.js in swapDuplicatedElementIds(), namespaced field was always being regex escaped, but slideouts use slightly different approach and their namespace fields needs to be uri encoded. This was resulting in field IDs not being replaced as expected.

Related issues

Matrix content save wasn't working past first autosave, when editing in a slideout (in other cases it worked as expected).
@i-just i-just requested a review from a team as a code owner October 7, 2022 12:58
@brandonkelly brandonkelly self-requested a review as a code owner October 10, 2022 21:33
@brandonkelly brandonkelly merged commit a39bafb into develop Oct 10, 2022
@brandonkelly brandonkelly deleted the bugfix/12058-slideout-matrix-autosave branch October 10, 2022 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants