Move component from Child
Question
Hi, i'm trying to make custom components composed with other components. No problem to do that. I'm facing an issue when i want to move the whole component. Here is my test component: it looks like this on the editor : my issue is when i want to move the component, i can move it when i click on the blank space after the a href link, but when i want to move it by click/dragging on the link, nothing happen... I know i put the non selectable parameter on the link component, but is it possible to move it anyway ? For the record, i can move the whole thing by using the handle "tlb-move" Thanks ! r...
Answers (3)
Thank you ;)
No, it's all as defined. You're trying to drag a non-draggable component so, the behavior is correct
Hi, thank you for the answer. Well, i know my "link" component is not draggable, i set it that way (to specially not drag the link outside the whole component) But it's also set as non selectable, so if i click on it, and i want to drag the whole thing, we should expect to select the whole componen...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2549
[QUESTION] Update component view on property change
Hi everyone, I'm trying to create a component that will update it's view based on a property value My approach is bassed on #1227 and on th...
Issue #2697
[QUESTION] Problem with custom component type and table cell
Hello! I'm trying to add custom component type: And also I'm adding new block: But when I drop this block on the canvas the <td> tag doesn'...
Issue #2614
[QUESTION] Recursive view update of custom component
Hi, I have defined a custom type like: I want to keep the customTag in my model and show the content (HTML) in the view. However, in the co...
Issue #5334
Selection of custom component type not working in the canvas
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome, Opera, Edge, etc Reproducible demo...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.