Image in comment editor no preview after saving #1817

Closed
opened 2026-03-22 13:39:11 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @CedricBojoly on GitHub (Oct 8, 2022).

Description

If i upload an image by drag and drop i don't get a preview of the image if save the comment.

That happens because the editor don't add the exclamation mark for the image link

WRONG: [1](https://mydomain.com/api/v1/tasks/2/attachments/7)
SHOULD BE: ![1](https://mydomain.com/api/v1/tasks/2/attachments/7)

Vikunja Frontend Version

v0.19.1

Vikunja API Version

v0.19.2

Browser and version

chrome newest

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

image

Originally created by @CedricBojoly on GitHub (Oct 8, 2022). ### Description If i upload an image by drag and drop i don't get a preview of the image if save the comment. That happens because the editor don't add the exclamation mark for the image link WRONG: `[1](https://mydomain.com/api/v1/tasks/2/attachments/7)` SHOULD BE: `![1](https://mydomain.com/api/v1/tasks/2/attachments/7)` ### Vikunja Frontend Version v0.19.1 ### Vikunja API Version v0.19.2 ### Browser and version chrome newest ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots ![image](https://user-images.githubusercontent.com/18142030/194676843-9f6ee8b7-4daa-4eee-a134-57ed0fb196fc.png)
Author
Owner

@N4unch0rch commented on GitHub (Oct 8, 2022):

Same for me!

@N4unch0rch commented on GitHub (Oct 8, 2022): Same for me!
Author
Owner

@kolaente commented on GitHub (Oct 8, 2022):

I think that's a problem with easymde.

@kolaente commented on GitHub (Oct 8, 2022): I think that's a problem with easymde.
Author
Owner

@kolaente commented on GitHub (Oct 8, 2022):

Related easymde issue: https://github.com/Ionaru/easy-markdown-editor/issues/387

@kolaente commented on GitHub (Oct 8, 2022): Related easymde issue: https://github.com/Ionaru/easy-markdown-editor/issues/387
Author
Owner

@kolaente commented on GitHub (Dec 20, 2023):

Is this still a problem with the new editor?

@kolaente commented on GitHub (Dec 20, 2023): Is this still a problem with the new editor?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#1817