decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.66k stars 3.02k forks source link

fix: images not loading in editor (#7099) #7111

Closed sproott closed 4 months ago

sproott commented 4 months ago

Summary

Image assets were not loading in the editor view. Bug was introduced in #7004.

fixes #7099

Test plan

Before:

https://github.com/decaporg/decap-cms/assets/46423131/94a3dc9c-5860-4ab4-8726-8c4c1a7ce828

After:

https://github.com/decaporg/decap-cms/assets/46423131/ce19cfa2-79de-4ff4-9b5f-1ac5ac6c8fa5

Checklist

Please add a x inside each checkbox:

A picture of a cute animal (not mandatory but encouraged)

image