disable file upload in asset manager
is there way to disable asset upload, we want to force user to use approved images only and that to via asset manager dialog.
Hi @krunal039,
The docs indicate that you can pass upload: false to disable it (see the comment in the "Examples" section). Have you tried doing that? I don't have time to test it out myself at the moment, but I'd be happy to help out more later if you try that out and are still having trouble.
@krunal039 as already mentioned by Ryan, upload: false is the way to go
How to hide the box of dragging it still appears i use please advise thanks. look false has no effect in my case, i mean its not working so i decided to stop and hide and make selecting image , and import from url the only options .
thanks again my friend
assetManager: {
assets: images,
upload: false/*,
uploadText: 'Uploading is not available in this demo',*/
},
@shareefhiasat just use CSS
@artf where do i change the css? I'm using the grapesjs-preset-webpage
where do i change the css?
Wherever you want, just place it after GrapesJS' CSS
upload:false did not work for me :(