Is there a function to get html with data-gjs-type attributes from the editor? Or a function that converts page or component JSON (comes from database) to HTML with component definitions? #4701
Unanswered
FaisalShaikhHA
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You can try to use this |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
data-gjs-type
attributes from the editor? This will help recognize components.editor.getHtml()
which returns the final HTML but I wantdata-gjs-type
as well so that I can load my page in the editor using that HTML because I have a dynamic template like header & footer which will be updated frequently and then I can append this HTML between my template.Beta Was this translation helpful? Give feedback.
All reactions