Publish: If using `publish: true` YAML, all images in note should automatically be selected for upload

Use case or problem

I often paste images into my notes.

When I use the publish: true YAML setting, images aren’t included by default.

In the “Upload changes” dialog, it takes a while to select the images in the note. I often forget to do this.

Proposed solution

If publish: true YAML setting is used, select all images in the note for upload automatically when we open the “Upload changes” dialog.