TiddlyWiki / TiddlyWiki5

A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
https://tiddlywiki.com/
Other
7.98k stars 1.18k forks source link

[IDEA] Support image drag & drop (cut & paste) for markdown tiddlers #8388

Open Leilei332 opened 2 months ago

Leilei332 commented 2 months ago

Is your feature request related to a problem? Please describe. Yes. The editor didn't support dragging & dropping (cutting & pasting) images when the type field is text/markdown. Adding [all[current]type[text/markdown]] to $:/config/Editor/EnableImportFilter didn't work too.

(I found that the message did appear for markdown tiddlers after modifying $:/config/Editor/EnableImportFilter, but the import dialog didn't appear. The import dialog only appears when the content type is text/vnd.tiddlywiki or empty.)

图片

*Describe the solution you'd like Markdown tiddlers support dragging and dropping (cutting and pasting) images like tiddlywiki tiddlers.

saqimtiaz commented 2 months ago

@Leilei332 see the following thread for how to enable this in markdown tiddlers: https://github.com/Jermolene/TiddlyWiki5/issues/7924#issuecomment-1882654241