Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert Image into CodeComment not possible via ClipBoard #27960

Closed
6543 opened this issue Nov 8, 2023 · 1 comment · Fixed by #29220
Closed

Insert Image into CodeComment not possible via ClipBoard #27960

6543 opened this issue Nov 8, 2023 · 1 comment · Fixed by #29220
Labels
topic/accessibility This issue/pull request wants to improve the accessibility type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@6543
Copy link
Member

6543 commented Nov 8, 2023

Gitea versions: v1.18.0 ... v1.20.0

You can insert images from the clipboard using ctrl+v into issue/pull/comment content, or drag and drop them. However, this does not work with code comments.

Of course, you could upload it as an attachment to a normal comment and then use it in the code comment via normal markdown syntax, but this hinders user productivity.

@6543 6543 added type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first. topic/accessibility This issue/pull request wants to improve the accessibility labels Nov 8, 2023
@JakobDev
Copy link
Contributor

JakobDev commented Nov 8, 2023

So you mean you drag and drop a code file in the editor and the editor creates a Codeblock?

lunny pushed a commit that referenced this issue Feb 25, 2024
Fixes #27960, #24411, #12183

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/accessibility This issue/pull request wants to improve the accessibility type/enhancement An improvement of existing functionality type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants