Issue #1178💬 AnsweredOpened June 6, 2018by demodesign0 reactions

Want to replace wrapper div

Quick answerby artf

No, currently there is no way to import a wrapper, but I'd be glad to accept a PR for this

Read full answer below ↓

Question

Hello artf, I want to replace wrapper div, for example : When we create the newsletter template, wrapper div already exists there. On import template if wrapper div exists in import html then need to replace already exists wrapper with new one. Is that possible? following is my code After drag and drop, it not editable @artf

Answers (2)

artfJune 8, 2018

No, currently there is no way to import a wrapper, but I'd be glad to accept a PR for this

padcomSeptember 11, 2023

Any progress on this? Specifying the wrapper component is very useful when working with custom elements that need a context, such as FormKit that requires some data provide()d...

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 →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.