[Feature Request]: A function can actually delete the data.
Author: KyriaOpheliaCreated Sep 26, 2026Updated Sep 26, 2026
Labelsstory
Description
Happens in V 0.27.4 At first, i just concern to the size of workspace, it's only growing. After some experiment, I found that deleted items in the trash bin still remain, it just hidding on the UI. I can find the original paragraph in exported .affine file.
Experiment protocol
- Create a doc with a paragraph of text
- Move the doc to Trash
- Permanently delete it from Trash
- Export the workspace (or extract the relevant blob from the local SQLite database)
- Decode the Yjs update binary using
Y.applyUpdate()+ inspectydoc.getMap('blocks') - The deleted paragraph's content is still present in plaintext
under
prop:text
Use case
No response
Anything else?
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!
Is your content generated by AI?
- I confirm that the content I submitted was not generated by AI / merely contained minimal AI edits.
Source: toeverything/AFFiNE