You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @jordiyapz you're right, the example is wrong there.
It should be more like:
constresults=awaitmyDownloadFilesLogic();
The myDownloadFilesLogic() should be all up to you how to fetch the list of assets for specific project that's why you don't have files there.
We'll update it 🙇♂️
What browser are you using?
Chrome
Describe the bug
The docs on "asset - custom storage" displaying irreproducible code because of wrong snippet provided.
The function
myDownloadFilesLogic
is supposed to get{ files }
as input but theonLoad
function only provideeditor
. Where can we get thefiles
?How to reproduce the bug?
See docs: https://app.grapesjs.com/docs-sdk/configuration/assets
What is the expected behavior?
It should provide from where we can get the
files
What is the current behavior?
It doesn't provide
files
If is necessary to execute some code in order to reproduce the bug, paste it here below:
Code of Conduct
The text was updated successfully, but these errors were encountered: