GrapesJS NodeJS JSON Converter to HTML/CSS
1 images

GrapesJS NodeJS JSON Converter to HTML/CSS

95 Downloads

Description

The GrapesJS NodeJS JSON Converter is a powerful feature designed to enhance the functionality of the GrapesJS editor by allowing seamless conversion between NodeJS and JSON data structures. This tool is ideal for developers looking to streamline their workflow in web development environments.

 

Development Status:
This feature is currently under development. We are committed to refining its features and ensuring its compatibility and performance across various environments.

Server IP : 127.0.0.1 Port : 3000
Endpoint 	Request Method
/api/2html-css 	POST

Example for JSON Data Format :

{
    "htmlJson": [
        {
            "tagName": "div",
            "components": [
                {
                    "type": "image",
                    "attributes": { "src": "https://path/image", "class": "my-cls" }
                },
                {
                    "tagName": "span",
                    "type": "text",
                    "attributes": { "title": "foo" },
                    "components": [{
                        "type": "textnode",
                        "content": "Hello world!!!"
                    }]
                }
            ]
        }
    ],
    "cssJson": [
        {
           "selectors": ["my-cls"],
           "style": {
                "color": "red"
           }
        },
        {
           "selectors": ["my-cls-2"],
           "style": {
                "color": "green"
           }
        }
    ]
}

Ratings:

0

0 reviews

5
0
4
0
3
0
2
0
1
0

Share this item:
Last Update:Aug 26, 2025
Published:Apr 17, 2024
Versions:
0.21.x0.20.x0.19.x0.18.x

Product Reviews (0)

Sort By :

No Reviews Found

Question and Answers (0)

No question found