Save html with inline css server side
Refer to the command used in Newsletter preset to inline CSS https://github.com/artf/grapesjs-preset-newsletter/blob/master/src/openExportCommand.js by default there is no way to do that
Read full answer below βQuestion
hello all , I am using version 0.15.3 and want to save html data with inline css to server side this is my code where I am storing html to local-storage first and than sending it using storage manager . I want to know is there any way where I can send html with inline css without storing it into local-storage or by using ajax , I have already checked some solution where ajax is used but in my case ajax is not working don't know why? Can any one please help me ...
Answers (1)
Refer to the command used in Newsletter preset to inline CSS https://github.com/artf/grapesjs-preset-newsletter/blob/master/src/openExportCommand.js by default there is no way to do that
Related Questions and Answers
Continue research with similar issue discussions.
Issue #507
UploadFile being called twice on drop file?
I have an editor initialized as so: If I add an image to the canvas and try to upload a new image by dragging it into the drop area in the...
Issue #974
Removing the deviceManager and ViewCode buttons
I'm playing with the default init to try and remove the deviceManager and ViewCode buttons... var editor = grapesjs.init({ showOffsets: 1,...
Issue #384
Create and Edit Template into Database
This is my code to Create a new template and insert the inline html with style into the database : I am able to insert the template-data in...
Issue #998
Asset Manager sends empty request when uploading image
Description: GrapesJS editor is initialized in an editor.html file as follows: localhost:9001 is a local IIS server running PHP5. The conte...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins β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.
Tutorial
How Much Does It Cost to Build a SaaS Page Builder in 2026?
How much does it cost to build a SaaS page builder in 2026? Explore realistic development costs, timelines, features, and how using GrapesJS can reduce
Tutorial
PageKit: the GrapesJS application you'd have to build anyway
A source-available Next.js app around the open-source GrapesJS core β publishing, custom domains, leads, checkout and a plugin loader.
Tutorial
UnStudio for GrapesJS: 4 Plugins to Build Better Visual Editors
Meet UnStudio, a new GrapesJS plugin studio with four tools, safer and better editor: Command Palette, Responsive Pack, Autosave & Restore, and Autofill
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.