POST/GET all the three fields
@mekamleshk You have to do in a custom way. Using the GrapesJS Api you can achieve this
Read full answer below ↓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 #4191
We are trying to store the data from grapesJS editor in Angular 10 application, getting CORS error, image attached below
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 99.0.4844.5 Reproducible demo link...
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...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.