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.4k stars 4.06k forks source link

Cannot drag and drop blocks into container #85

Closed yashvijalan-adl closed 7 years ago

yashvijalan-adl commented 7 years ago

Hi. I am using grapesjs with bootstrap. I am also using the filestack, ckeditor and newsletter plugins. The div is inside a form. When I try to drag and drop blocks into the email canvas, I get the following error. "Invalid target position: target collection not found"

However, code import is working correctly. And once, a basic import layout is ready, I am able to drag and drop and edit elements.

Any help and/or comments are appreciated :)

[A screenshot is given below]

screen shot 2017-05-09 at 5 03 44 pm
artf commented 7 years ago

So you mean it's not working at the beginning (empty canvas)? Can I see the snippet of how you init the editor?

techartdev commented 7 years ago

I think same thing happened to me when i left the root element without any childs while using fromElement: true. Empty element inside makes it work.

artf commented 7 years ago

thanks @vankyy26 will try to fix it then

artf commented 7 years ago

@yashvijalan-adl can you update to the last release and check if it's solved? If the issue is still there I'd like to see your code

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.