Will Joplin delete associated files from S3 after a note is removed?

Operating system

macOS

Joplin version

3.0.1

Sync target

S3

Editor

Markdown Editor

What issue do you have?

I am using an S3 object storage bucket, and I have a lot of notes recorded in Joplin, some of which were temporarily saved through the web clipper, which downloads many images, etc. Now, I have deleted this note. Will Joplin also delete the corresponding MD file and uploaded images in the S3 object storage? If not, is there a plugin that can implement this feature? Otherwise, my storage capacity will keep increasing. ThankS

A part of the answer might be the in history setting: