GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.06k stars 407 forks source link

[Bug]: erroneous post save warning #1285

Open atomGit opened 8 months ago

atomGit commented 8 months ago

Operating system

linux

Publii version

0.43.0 (build 16368)

Post editor

WYSIWYG editor

Bug description

erroneous "you will lose all unsaved changes" warning when no changes are made to a post upon returning to the post list

Steps to reproduce

  1. create test post with "test" as the text
  2. save post and return to post list
  3. click the post in the list to edit it
  4. ctrl+f to find "text"
  5. dismiss the find dialog
  6. return to the post list

this bug is not always reproducible

Relevant log output

No response

s3nnet commented 8 months ago

This also happens after mere highlighting text without changing anything.