Issue #1062Opened April 24, 2018by Divyeshkotadia2 reactions

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

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, 20181 reactions

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

francesca-cicileoApril 29, 20180 reactions

+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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.