Hello,
Thanks for the anwser and debug link, I will check the logs next time.
Lastly it happened when I went back to notes, so I don’t know exactly when the emptying really happened (when I last edited the note or when I went back to it).
Yes the version history helped me twice, but on the last occurrence of the bug it was a big note that I hadn’t edited since some time (since Joplin installation or 180 days) so it didn’t help. But I will find it in some backup so it’s not bad. And now I will keep note history for 365 days.
Thanks
PS : Joplin Desktop 1.0.227 (but bug happened with 1.0.224) on Mac OS X 10.15.5 and on Windows.