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

Forms with CKEditor fields are unmarked as dirty when clicking another field #562

Open
ddabble opened this issue Oct 14, 2022 · 0 comments
Labels
bug Issues describing bugs in existing code priority: 5 - low

Comments

@ddabble
Copy link
Member

ddabble commented Oct 14, 2022

Steps to reproduce

  1. Visit a page with both a CKEditor field and a field of another type; https://makentnu.dev/en/contentbox/7/change/ for this example
  2. Add a character anywhere inside the "Content" field
  3. Click the label of the "Title" field (i.e. click on the text that says "Title"), so that the "Title" text input is focused
  4. Reload the page

Expected results

The page should not reload, but instead display a browser-native prompt, asking if the user actually wants to reload/leave the page.


This issue seems to be most likely caused by a bug in the jquery.dirty library.

@ddabble ddabble added bug Issues describing bugs in existing code priority: 5 - low labels Oct 14, 2022
@ddabble ddabble changed the title Forms with rich text fields are unmarked as dirty when clicking another field Forms with CKEditor fields are unmarked as dirty when clicking another field Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues describing bugs in existing code priority: 5 - low
Projects
Status: TODO
Development

No branches or pull requests

1 participant