Issue #1074💬 AnsweredOpened April 27, 2018by kopecms0 reactions

Keeping data-gjs- tags

Quick answerby artf

No, data-gjs-* attributes are used only for the import purpose

Read full answer below ↓

Question

Hello, great stuff. Thanks.Is there any possibility to not remove data-gjs- tags when loading html template or return them with getHtml()?

Answers (3)

artfApril 29, 2018

No, data-gjs-* attributes are used only for the import purpose

MoikapyJuly 13, 2018

Is there a way to remove this on a local version, I'm needing the data-gjs-* to be kept when returned to the canvas.

artfJuly 14, 2018

You can always extend the default component view and add attributes you need

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.