sveltia / sveltia-cms

Alternative to Netlify/Decap CMS. Fast, lightweight, Git-based headless CMS. Modern UX, first-class i18n support, open source & free. Made with Svelte.
MIT License
722 stars 33 forks source link

[Feature Request] Image block inside markdown editor #156

Open dallyh opened 1 month ago

dallyh commented 1 month ago

Currently if I want to use an uploaded asset inside markdown editor, then from editing an entry I have to go back to assets, upload the asset, copy its URL and then go back to editing and insert it manually by writing pure markdown. Having an entry with multiple images can get pretty time consuming. Also doing this then does not update the "Used in" field inside metadata of an uploaded asset.

Are there any plans to implement the image block before 1.0 and or before Svelte 5 migration?

Thanks!

kyoshino commented 1 month ago

Hi there 👋🏼 Not sure if it happens before or after the Svelte 5 migration, but I do have a plan to do it before 1.0 as mentioned in the README:

Editor components, including built-in image and code-block as well as custom components, are not yet supported.

Well, I’ll try to work on it later this month! (I have 2 other new features in my queue now)

onweru commented 3 weeks ago

Editor components, including built-in image and code-block as well as custom components, are not yet supported.

Well, I’ll try to work on it later this month! (I have 2 other new features in my queue now)

Assuming this is why I cannot add or preview images inside markdown blocks, I have to say this has caught me off guard. I kinda assumed this was immediately available.

kyoshino commented 3 weeks ago

@onweru You should still be able to add images when switching to raw Markdown editor, but the current status is what the README says. Anyway, I’ll bump the priority of this issue by pushing back other tasks.