[QUESTION] How to get the html and css code in view code tool?
Question
or how to get all the html code and css so that I could save it in my database.
Or there is already a functionality in the documentation? your help will be much appreciated :)
Answers (3)
Sorry for this post. I was only able to look at the Open Issues not knowing that there are closed issues. I was able to know that I could use editor.getHtml() and editor.getCss() which I could just save right away in my database to save my template(the only way I know how to save the codes.). Is there another way for this?
@pranzikkin you can set up a remote storage #778 which will store your data automatically
what do i put in UrlStore?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #858
[Question] How to extract html/css code in view code automatically?
I need the function to copy the html/css code in the view code component automatically. Is there a predefined function? or I must implement...
Issue #1888
[Question] Add custom html inside canvas
Hi there, I'm using grapes to export a custom json with all the information i need, instead of HTML and CSS. For doing that I'm parsing the...
Issue #1897
[Question] view vs code
Hello...and sorry for my english! First of all, congratulations for this fantastic framework. I'm trying to use GrapeJS to create my own wo...
Issue #892
How to get the link value?
Hi Guys, How can I get all links value before or upon saving the email template. I want to substitute the links with proxy url. In order to...
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.