Closed robinvibs10 closed 1 year ago
Use Javascript to populate content.
Using the example: https://github.com/GrapesJS/preset-newsletter#usage
You can populate the content with:
editor.setComponents(inline_html);
If you have separated HTML and CSS, you can use:
editor.setComponents(html);
editor.setStyle(css);
Hi,
How can I echo php content to newsletter blocks, PHP code is not working in the import codes...
I want to dynamically populate content to a specific blocks...