Skip to content

Markdown image paste regressions #31230

Closed
@wxiaoguang

Description

@wxiaoguang

Regression of Downscale pasted PNG images based on metadata #29123 :

  1. The pasted image is not clickable (unable to view the full image)
  2. The URL path doesn't contain sub-path if the Gitea instance is deployed under a sub-path.
    • From discord report: Pasting image from the clipboard the Javascript (Paste.js) embeds the image via html code but the src attribute is set to value: /attachments/<GUID>. Using a configuration in which the Gitea application is served on a subpath of the domain name, for example: https://domain.name/git the image is not rendered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/regressionIndicates a previously functioning feature or behavior that has broken or regressed after a change

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions