-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Bug: Closing image box in post editor opens link instead #308
Comments
Will check. |
This was indeed due to a pasted linked image. v0.53.6 added a quick workaround, but currently there is no way to edit such non-text links, and the Markdown syntax will be broken when switching to raw text mode. I’ll figure out how to fix these issues later. Thanks for caching the bug anyway! |
Thanks for the workaround |
Found this, will implement in Sveltia: |
v0.54.0 added support for editing the link on an image. |
Thanks so much |
Current behaviour:
There is a bug in the markdown editor where, selecting the ✖️ icon to close the image editor when the image is added as a link opens the link. I have included a screen recording below.
https://github.com/user-attachments/assets/fc8e9658-18b3-4361-b360-ed62c3c5c19c
When you navigate back to the post, it is restored from a draft and the image editor is successfully deleted. I think the user shouldn't have to leave and return to the sveltia page for every image they close.
Expected behaviour: Clicking the close button should remove the image editor without opening another link
I am not sure why this happens. Also, this seems to happen when I paste text into the editor which contains image links.
The text was updated successfully, but these errors were encountered: