Product gallery 524

GrapesJS NodeJS JSON Converter to HTML/CSS

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.

Instruction:

+
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"
           }
        }
    ]
}
Share this item:
87 Downloads
Last Update:Apr 17, 2024
Published:Apr 17, 2024
Versions:
0.21.x0.20.x0.19.x0.18.x
0

0 reviews

5
0
4
0
3
0
2
0
1
0

Product Reviews (0)

Sort By :

No Reviews Found

Question and Answers (0)

No question found

Share this item: