How to change the content of a dragged component?
Question
Hi everyone, Im kinda stuck with creating a custom component.
A custom block that im currently building supposed to show a modal with buttons pointing to a function which will then inserts a particular component based on selected button. The problem im having is that appending the div is not rendered and stored (component is gone when dragged).
What are better ways to do it? Can a content of a dragged component be changed through a js function?
Thank you
Answers (2)
Follow the issue template and post your code
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 #1895
[QUESTION] Drag component over canvas with script, script appended multiple times.
Hi, not sure if this is a bug or not. But I noticed a weird behavior, when I drag a block that has a component that contains a script funct...
Issue #1862
Reflect deleted components in block manager
How can I create dynamic components in block manager such that when a delete action is performed on a component it triggers the component t...
Issue #1497
Inner element content change with pop-up
Hello @artf I've make pop-up for select custom link data with image. Now all the data reflected properly but when I try to change src than...
Issue #1263
How can i embed a modal and be able to edit it in my html content
Good Day I am trying to add a modal into my html, I was able to add a modal in the blockmanager but i am struggling to find ways to edit th...
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.