Issue #1161Opened June 2, 2018by besingasj0 reactions

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

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

Answers (2)

artfJune 6, 20180 reactions

@besingasj the styling of the dropzone is up to you

lock[bot]September 17, 20190 reactions

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.