RaythaHQ / raytha

Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.
MIT License
155 stars 30 forks source link

Templates: Convenient uploader for local storage returns `undefined` #122

Closed apexdodge closed 1 year ago

apexdodge commented 1 year ago

Our convenient drag and drop file uploader under Templates works fine for uploading to cloud storage.

However, when you have local storage, the file itself does upload correctly, but when you click "Copy" like so:

image

It results in:

image

The expected behavior is that it would output the Media Id, not undefined.