FEAT: JSON Object model of the page generated
Question
I need to generate the JSON object model of the page designed instead of generating the HTML, CSS, and js code, is there a function that returns the JSON object of the page designed? Also, I'm implementing the UI builder in angular so the typescript version will be preferred.
Answers (1)
I'd highly recommend reading the documentation pages like Components and Storage Manager where all these parts are covered.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1888
[Question] Add custom html inside canvas
Hi there, I'm using grapes to export a custom json with all the information i need, instead of HTML and CSS. For doing that I'm parsing the...
Issue #858
[Question] How to extract html/css code in view code automatically?
I need the function to copy the html/css code in the view code component automatically. Is there a predefined function? or I must implement...
Issue #1741
[QUESTION]: Can't render GrapesJS HTML/CSS when viewing page on frontend v0.14.50
I have built a page and want to render it on frontend, the strategy I have implemented is to save my HTML and JSON style object and on fron...
Issue #1329
Question: How to use same CSS for Multiple pages
Hello Grapejs Team, We've been working on Multi-page Website Builder. For each project there will be multiple html pages with single common...
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.