Store the html and inline css in Editor.Store()
@mekamleshk editor.store() function gets the html, components, css, html and styles and passes it to storage:store event and you can access it like you have above im sorry if i have miss understood what your asking but it looks like your trying to add a save button the save button the store event you can use grapejs's...
Read full answer below āQuestion
I am trying to store the html and inline css , can you please in how to pass it to editor.store() function. @artf
Answers (3)
@mekamleshk editor.store() function gets the html, components, css, html and styles and passes it to storage:store event and you can access it like you have above im sorry if i have miss understood what your asking but it looks like your trying to add a save button the save button the store event y...
Please recheck my code i have updated it. @sonnylloyd @artf I want to store inline html
var html = editor.runCommand('gjs-get-inlined-html');
into mysql database using
editor.store() function
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1487
Load from Database
I've got an issue with loading the lory-slider from my mysql db. When i load it back in, the functionality is gone, i cant slide left or ri...
Issue #1836
How to add !important in all the generated apis
Hello @artf, While i am going to edit some html from editor with the help of css then i need to add !important into all the css which is ch...
Issue #740
How to remove class from html
Hi @artf, We are updating the <i> tag class but it adds new class to this but previous class is not remove.please let us know how to remove...
Issue #930
[Question] Update resizer after asset changed
Hi! I trying to change default assets manager with ours custom manager. On double click the selected image is replaced with a new one with...
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 āRelated tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.