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

Are you sure you want to leave this page? #31

Closed
oioioiio opened this issue Sep 6, 2022 · 1 comment
Closed

Are you sure you want to leave this page? #31

oioioiio opened this issue Sep 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@oioioiio
Copy link

oioioiio commented Sep 6, 2022

Hi. Thanks for the great plugin.

I've run into a minor issue on content types that feature a CK editor. To reproduce the issue:

  1. Add or edit an entry that features a CK editor
  2. Don't make any changes to the content
  3. Navigate to a different page

What happens
CK editor thinks that content has been modified and a browser alert asks 'Are you sure you want to leave this page?'

What should happen
If no content has been modified, it should be possible to navigate away without an alert.

Strapi version: v4.3.6
Node vserion: v14.20

@nshenderov
Copy link
Owner

I faced this bug when I was modifying collection types. Generally, all works fine, and the alert occurs when you do some changes to your collections in the content-type builder, if you save your entry after it it will continue to work fine. I'm not sure why it happens and what causes the issue but I presume that something from the hot-reload mechanism may cause it

@nshenderov nshenderov added the bug Something isn't working label Jan 30, 2023
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

2 participants