Issue #2575○ OpenOpened February 17, 2020by MCiocio0 reactions

Set HTML content

待解决问题

No community answers yet. Open the original discussion on GitHub to share your solution.

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

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.