docs/help/contents/faqs/login-to-upload-attachments.md
Attachments are encrypted with a sub-key derived from your account's data encryption key. That key is created with your account and only exists once you are logged in, so while you are signed out there is nothing to encrypt the file with — and no account to sync it to.
This is why the editor shows Login to upload attachments. instead of inserting the file.
Everything that lives on your device: notes, notebooks, tags, colors, the editor and search all work fully offline with no account at all. Attachments are the one exception, because they are stored on Notesnook's servers in encrypted form rather than only on your device.
Images, files, audio recordings and web clips all go through the same pipeline, so all of them need you signed in. See attachments and files for the size and storage limits on each plan.