Issue #353○ OpenOpened September 30, 2017by matiponce910 reactions

Problems when with grapesjs-present-newsletter plugin

待解决问题

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

Question

Hi All, I am trying to use GrapesJs with grapesjs-present-newsletter plugin so I can show HTML with inside CSS. So I installed the plugin through npm and then imported the library inside index.html. Finally within "grapes.init ()" I added the following code:

plugins: ['gjs-preset-newsletter'],
       pluginsOpts: {
           'gjs-preset-newsletter': {
         		inlineCss: true,
         		modalLabelImport: 'Paste all your code here below and click import',
 			modalLabelExport: 'Copy the code and use it wherever you want',
           }
 }

but "inlineCss" (it doesn't matter if its value is true or false ) and "modalLabelExport" don't work, showing the "Export modal" as it is configured on grapes core (two blocks, one for HTML and one for CSS). And for example "modalLabelImport" or any other property, that is not related to export modal, work perfectly fine.

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 →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.