[QUESTION] Set HTML content
Question
Hi @artf
I've imported your plugin and all the 'get content' functions works correctly. Before this, on my web application I had the functionality to save different templates and to load them in evert moment.
But my question is: there's a way to SET CONTENT of gjs newsletter editor? On the commands there's only the readHtml one. The only way should be the import modal, but I want to do the import programmatically, reading from the DB.
There's a way? Thanks in advance!
UPDATE: I've also tried to define the importPlaceholder with the template get by DB but this involves the the user have to click import manually.
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1466
Editing Saved html editor.setComponents slider load issue
I am working on a project where i integrated grapesJs for users to build there templates, save them in database and edit these saved templa...
Issue #822
[QUESTION] How to get the html and css code in view code tool?
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? y...
Issue #874
[QUESTION] Different POST params
Hi, we are tring to integrate your grapejs in an existing web application. We need to load and store data remotely adding some POST params...
Issue #1167
[QUESTION] export options
Hi @artf, Are there any other export options than HTML/CSS ? I'm thinking of a way to directly load the configuration from a remote server...
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.