codedance / jquery.AreYouSure

A light-weight jQuery "dirty forms" Plugin - it monitors html forms and alerts users to unsaved changes if they attempt to close the browser or navigate away from the page. (Are you sure?)
507 stars 145 forks source link

CKEditor compatibility. #130

Open leo-rp opened 7 years ago

leo-rp commented 7 years ago

A very simply way to check if the CKEditor fileds are "dirty".

dgmdan commented 5 years ago

Thanks for this. I tried it out and ran into a bug. If the CKEditor field is dirty, the "are you sure" dialog appears unexpectedly when submitting the form. Normally the dialog doesn't appear when submitting the form, since even if fields are dirty, the user is trying to save the new changes so it's okay.