-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Milestone
Description
First, thanks a lot for creating and maintaining Sveltia CMS!
According to the Decap CMS docs (https://decapcms.org/docs/widgets/#image) and the Sveltia CMS type definitions you can define media_folder
and public_folder
for an image widget.
It doesn't seem to be used by Sveltia CMS though. More precisely, getAssetByAbsolutePath()
in src/lib/services/assets/index.js will not look at the folders specified there, which results in the preview image not being shown, and when clicking "Replace" I only have "Global assets". (The folders for this image widget are a sub-folder of the global images directory.)
Metadata
Metadata
Assignees
Labels
No labels