GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.38k stars 4.06k forks source link

[Question] Do I need to include dropzone css to show the dragging hover #1161

Closed besingasj closed 6 years ago

besingasj commented 6 years ago

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>'
    }
});

dropzone bug

as you can see there is no hovering effect just like what is shown here. https://github.com/artf/grapesjs/wiki/Assets#setup-dropzone

artf commented 6 years ago

@besingasj the styling of the dropzone is up to you

lock[bot] commented 5 years ago

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.