Skip to content

Images not linking to full-size image #57

@amccaugh

Description

@amccaugh

Hi, in The Paste 2.0.9 I'm noticing that images don't by default link to their full-size version, so they're no longer clickable after being pasted. Really the only difference here is that the href tag is missing:

In paste 2.0.9:

<img class="wp-image-53665 alignnone size-medium" src="https://mysite.xyz/wordpress/wp-content/uploads/2023/10/image-23.png" alt="" width="300" height="241" />
<p id="the-pasted-async"></p>

How it it used to be / how I'd like it to be:

<a href="https://mysite.xyz/wordpress/wp-content/uploads/2023/10/image-23.png"><img class="alignnone wp-image-53665 size-medium" src="https://mysite.xyz/wordpress/wp-content/uploads/2023/10/image-23.png" alt="" width="300" height="241" /></a>`

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