Issue #1633Opened December 5, 2018by SeongwoonHong0 reactions

[Bug]: editor.runCommand('gjs-get-inlined-html') returns undefined (preset-webpage)

Question

Hi, Artur

I'm using grapesjs-preset-webpage v0.1.10, grapesjs v0.14.29

I'm trying to save templates with inline css rather than having classes. but editor.runCommand('gjs-get-inlined-html') returns undefined. I've read your comments regarding this on other issue tickets but you said it's for newsletter.

is it not available for preset webpage..? is there any way to save template with inline css instead of classes?

Thank you!

Answers (3)

SeongwoonHongDecember 6, 20180 reactions

P.S) Just tested on newsletter, it also returns undefined..

artfDecember 7, 20180 reactions
  1. You're not using the latest version
  2. Webpage preset doesn't have gjs-get-inlined-html command, but you can copy it from the newsletter preset if you need it
  3. It works here https://grapesjs.com/demo-newsletter-editor.html
lock[bot]December 7, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.