Skip to content

Conversation

@grtsinry43
Copy link
Contributor

Description

This PR implements automatic image upload functionality in the Codemirror editor. It enables file handling for pasting (Clipboard) and dropping (Drag & Drop) image files directly into the editor.

A custom CodeMirror Widget with a shimmer loading animation is used to display the "uploading" state, which is then replaced with the resulting Markdown image link upon success.

Linked Issues

resolve #1001 mx-space/core#2469

Additional context

@grtsinry43 grtsinry43 marked this pull request as ready for review November 29, 2025 06:47
@safedep
Copy link

safedep bot commented Nov 29, 2025

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

This report is generated by SafeDep Github App

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

关于文章编写的 Markdown Editor 不能直接粘贴图片的问题

1 participant