POST/GET all the three fields
Question
Hi,
I am trying to store and retrieve data in/from database using below fields :
- Template Name
- Template Data
- Status
The question I have is urlStore/urlLoad is only sending/retrieving Template Data
Is there any way I can POST/GET all the three fields ? @artf @cmcintosh
Answers (3)
@mekamleshk You have to do in a custom way. Using the GrapesJS Api you can achieve this
@arthuralmeidap Can you throw some lights on it, Like a example or something
@mekamleshk, This (API-Editor)[https://github.com/artf/grapesjs/wiki/API-Editor] has a lot of methods. One of them is getComponents that you can get the data from inside the grapes or getStyle that you can get style data used for the page You will need to customize in some how to achieve what you want..
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1336
[Question] Can I make everything unselectable by default?
Currently all components are selectable/hoverable by default. And if you want you can change that behavior by providing data-gjs-hoverable=...
Issue #2238
[QUESTION] How to get style for header & footer components only
Hi @artf, can you please tell me what is the fastest and easies way to extract component styles. I have template and in this template you c...
Issue #1938
[QUESTION] what would be the best way to store the template dynamically
I'm looking to store data dynamically though a id that is called in, at the moment I'm loading in templates dynamically but cant seem to fi...
Issue #2364
[Question] How to add toolbar functionality to the layers panel.
I am trying to add the toolbar to the layers panel and I am not sure how to go about this. Is there any way to accomplish this? toolbar Whe...
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.