How to upload documents using asset manager. #6015
Unanswered
snehlata08
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Your custom component gjs.BlockManager.add('document-upload', {
// ...
content: { type: 'document' },
activate: true,
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to create a custom block which can be used to upload documents other than images like pdf, docx, excel etc.
I have tried this code as below
It creates a block in the block manger but when i drag it to the canvas. It shows nothing. And no asset manager popup opens up. Basically I want use the same thing which is working for images.
Beta Was this translation helpful? Give feedback.
All reactions