[QUESTION] Column blocks not droppable in canvas
Question
Morning @artf :)
I'm experiencing an similar problem to this issue.
I can't drop any block (text, image, etc.) inside the column block from canvas. When I try to drop it inside layers it works normally, here is a short detailed screen recording of the problem with a visible html structure. Do you have any idea how to fix this issue?
Thanks in advance.
Answers (3)
Hey @artf ,
figured out what was going on today, but forgot to close the issue in the euphoria. 😄
The classes from GrapesJS and Bootstrap were colliding, took me some time to realise that, because it worked when trying the same in layers.
Great job on the stylePrefix option in basic blocks, it fixed my problem. I was thinking that maybe it would be a good idea defaulting it to a key like gjs-. What do you think?
Have a great day!
Hi @FrciSmrci honestly, I don't understand what is going on and can't reproduce it with the current demo. Did you customize those blocks somehow? From which preset/plugin do you get them? Are you able to reproduce it via jsfiddle? Your grapesjs version?
I was thinking that maybe it would be a good idea defaulting it to a key like gjs-. What do you think?
Yeah, probably that would prevent scenarios like this 😬 PRs are welcome :)
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1369
[BUG] Class of a block doesn't always show in the classes section
Hello everyone, I have added many custom blocks and gave the same css class to all the images in those blocks. Let's call it for now 'image...
Issue #1247
Text disappear after creating a new type
Hello! I am creating a new block that will open a modal during the creation (drag and drop https://github.com/artf/grapesjs/issues/174 real...
Issue #1688
on set model content property image and text written in content is not editable in grapejs canvas.
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
Issue #1618
Child components are not tracked in models ??
Hi, I'm facing as strange issue and I need your help. when I move components inside blocks, at the view model the changes successfully appl...
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.