[Bug]: The drag placeholder should not be visible when there's no target
Question
I'm using the latest release.
Steps to reproduce:
- Configure grapesjs in such a way that the wrapper is not droppable.
- I have created a fiddle to demonstrate this: https://jsfiddle.net/szLp8h4n/300/ (the idea here is that only the white center area is droppable)
Expected behaviour:
- The green drag placeholder shouldn't be visible when not dragging over an acceptable target
Screenshot:
(note: this is paused in debugger to be able to catch the green drag placeholder. Bottom line is that it shouldn't be there in this case :)
I will submit a Pull Request to fix this.
Answers (1)
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 #1834
[BUG]: background image for wrapper doesn't work if custom styling properties are selected
When editor is initialized with custom styling props defined for wrapper, background image is not set to wrapper. It is set correctly if ed...
Issue #912
[BUG]: HTML attributes/traits not escaped
When double quotes are added to an attribute it breaks the HTML.https://jsfiddle.net/szLp8h4n/Drag in the link block.Click the link in the...
Issue #1032
[BUG] Multiple font-face at-rule CSS rules are not processed
Latest version of grapes #cfde1c1 If you supply a single @font-face, this is parsed just fine: JSFiddle example: https://jsfiddle.net/szLp8...
Issue #1033
[BUG]: When IDs are used, it's not possible to update or remove a style
Steps to reproducehttps://jsfiddle.net/1cjjr02p/Click the text in editor, change background colour.Export CSS. You'll see both new and orig...
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.