-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(UVE): make changes to layout you lose container editable areas (#…
…30189) ### Proposed Changes * Replaced `updatePageResponse` with the `reload` method in `EditEmaLayoutComponent` to trigger a page reload after saving. ### Checklist - [x] Tests - [x] Translations - [x] Security Implications Contemplated (add notes if applicable) ### Additional Info Issue #30116 was identified due to an issue with the response from the backend when making a POST request to `api/v1/page/{pageId}/layout`. The response contains the `page.rendered` object, which is used to patch the UVE page state. However, this `page.rendered` HTML comes in **preview mode**, causing empty layout containers to disappear, making it impossible to edit the page correctly. ### Screenshots https://github.com/user-attachments/assets/86e03108-308d-40c4-bea2-bafe8b787a15 This pr fixes #30116
- Loading branch information
1 parent
b9dfc8a
commit 6cb8473
Showing
2 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters