[Question] Do I need to include dropzone css to show the dragging hover
Question
I have enable dropzone on assetManager and i think it works correctly. But I also notice that the hovering effect when the image is being dragNdrop is not working. I just see the text on the upper left corner. here is my initiation of the grapesjs.
import grapesjs from 'grapesjs';
import 'grapesjs-blocks-basic';
let editor = grapesjs.init({
container: '#gjs',
height: '100%',
plugins: ['gjs-blocks-basic'],
pluginOptions: {
'gjs-blocks-basic': {}
},
// storemanager
storageManager: {
type: 1,
autoload: 'none'
},
// asset manager
assetManager: {
upload: 'http://localhost/upload.php',
dropzone: 1,
dropzoneContent: '<div class="dropzone-inner">Drop here your assets</div>'
}
});

as you can see there is no hovering effect just like what is shown here. https://github.com/artf/grapesjs/wiki/Assets#setup-dropzone
Answers (2)
@besingasj the styling of the dropzone is up to you
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #455
Need help: Ask for user input for text/imageurl/hyperlink
we are building template where it will render div with background image and on hover it will display some text, also there will be hyper li...
Issue #815
Show text trait for links if the link has no children
I hope to explain well, when I edit a link I don't see the possibility of editing the text of that link. I think it would be a good idea if...
Issue #1720
[QUESTION] How to add the button in custom traits
Hi, I try to add a button to my custom traits for my custom blocks but its not working fine as expected and also need to know how to call t...
Issue #1844
Remove upload image option and disable (x) icon for default images
I want to remove the "Drop files here or click to upload" section and also disable the (x) cross icon next tothe default images, not allowi...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.