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

Alert dialog when trying to leave edit screen #934

Open
htmgarcia opened this issue May 2, 2022 · 3 comments
Open

Alert dialog when trying to leave edit screen #934

htmgarcia opened this issue May 2, 2022 · 3 comments
Assignees

Comments

@htmgarcia
Copy link
Collaborator

Dialog is displayed when trying to go to another page despite no changes were done.
Screen Shot 2022-05-02 at 10 50 19
https://wordpress.org/support/topic/leave-site-your-changes-may-not-be-saved/

@htmgarcia htmgarcia added bug Something isn't working Images slider block labels May 2, 2022
@htmgarcia htmgarcia self-assigned this May 2, 2022
@htmgarcia
Copy link
Collaborator Author

It seems what changes automatically in block content is the attribute id.

@htmgarcia
Copy link
Collaborator Author

We can circle back to not refresh id attribute, however that will generate a problem when duplicating the block instance (the id will duplicated as well).

@htmgarcia
Copy link
Collaborator Author

htmgarcia commented Jun 30, 2022

The functionality to avoid duplicated attributes when duplicating blocks is in discussion WordPress/gutenberg#35755

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

No branches or pull requests

1 participant