Skip to content

Right-click on image > Delete link and file deletes file but not the link (embedded image tag) #20

@hsandt

Description

@hsandt

Platform: Windows 11

I found this plugin via https://forum.obsidian.md/t/right-click-menu-option-to-delete-link-and-file/23369/7 so I was really interested in the Delete image file feature

However, I found that right-click on image > Delete image file does nothing

In comparison, moving caret on image Markdown text to reveal the image insertion Markdown code ![[path/to/file.png]], right-click on that text > Delete link and file does work, prompting for file deletion confirmation.

I think that right-clicking on the image directly should show a menu item "Delete link and file" too (since you wouldn't want to keep the link to a missing picture anyway) and do exactly the same thing as the corresponding item when right-clicking on the image insertion code.

Note: using WikiLinks insertion code, if that matters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions