Issue #1950💬 AnsweredOpened April 8, 2019by momu-20160 reactions

Is there a way to convert gjs-components to gjs-html?

快速解答by artf

Is there such a method? Not really, but actually it would be the same as initializing the editor with components (gjs-components) and then getting the code via editor.getHtml() (gjs-html)

Read full answer below ↓

Question

In my opinion, this is two different ways of storing the same data,Now I have a need to convert gjs-components to gjs-html,Is there such a method?

Looking forward to your reply, I wish the project better and better!

Answers (2)

artfApril 11, 2019

Is there such a method?

Not really, but actually it would be the same as initializing the editor with components (gjs-components) and then getting the code via editor.getHtml() (gjs-html)

lock[bot]April 15, 2020

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 →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.