Is there a way to convert gjs-components to gjs-html?
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)
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)
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 #1902
[QUESTIONS] Disable/change build-in components behavior
Hey, Trying to get GrapesJs work for a project I'm currently working on. But is there a way to disable the built-in components that convert...
Issue #1804
Applying two different traits on same html tag but applies only one
Hello @artf , If we need to initialize two traits on same HTML tag then it's possible or not? Actually i define two different traits on sam...
Issue #1841
Components name
I have two questions.Is there any way to change the built-in components name? I wanted to change the name "Box" to "Div". so the same name...
Issue #957
[Question] Add custom attributes (data-) to assets/images on Upload/Selection
Hi, I am trying my best to find the proper/best way to do this, but I need to attach two custom HTML5 data tags to an image once it is sele...
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.