Problems when with grapesjs-present-newsletter plugin
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.
Issue #1935
Adding multiple plugins together
Hello all, I have encountered a problem when trying to add 2 plugins together for example: grapesjs-preset-webpage and grapesjs-plugin-cked...
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 #1255
[QUESTION]: How to set editor html contents from custom component?
I'm having trouble getting a custom block+component to display its template HTML inside the grapes editor. Within the exported HTML, the ma...
Issue #1865
[Bug]: Grapes change page position
Hello, I found the following problem using grapes inside an html page: when you click on some elements of the editor, such as the arrow 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.