Issue #1174💬 AnsweredOpened June 6, 2018by jerrytohvan0 reactions

How to change the content of a dragged component?

快速解答by artf

Follow the issue template and post your code

Read full answer below ↓

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)

artfJune 8, 2018

Follow the issue template and post your code

lock[bot]September 17, 2019

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

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.