Issue #1062💬 AnsweredOpened April 24, 2018by Divyeshkotadia2 reactions

Gjs-get-inlined-html returns undefined instead of editor content

快速解答by artf1

Unfortunately, it's a bug introduced by the 0.14.9 version, but already fixed and ready for the next release

Read full answer below ↓

Question

@artf Wonderful newsletter editor and it is very user-friendly. Great Job!!!

In my POC application, I fetch the newsletter editor content and then pass that as email body to SMTP for sending it respective recipients.

To fetch the editor content I use editor.runCommand('gjs-get-inlined-html') code statement but since a couple of days, it is returning me undefined. I even tried the same command on http://grapesjs.com/demo-newsletter-editor.html and got undefined there too as shown below:

inlinehtmlissue

Has anything changed? because I see lots of updates in the code branch. Please guide me a suitable solution.

Thank you!!!

Answers (3)

artfMay 4, 2018

@mmeeeooowww you don't have that command inside the website demo

francesca-cicileoApril 29, 2018

+1 having the same issue

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.