Issue #5929πŸ’¬ AnsweredOpened June 6, 2024by mcnika0 reactions

GrapesJS Fails to Apply Styles to Wrapper

Quick answerby artf

The reproducible demo is required for a bug report.

Read full answer below ↓

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Version 125.0.6422.141

Reproducible demo link

N/A

Describe the bug

When setting the following configuration for the storage manager: storageManager: { autosave: false, autoload: false, }

The wrapper style is disappears ( the background color, image... ) and get only this:

<body style="box-sizing: border-box; margin: 0;"> ...

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (2)

artfβ€’ June 10, 2024

The reproducible demo is required for a bug report.

GJS Helperβ€’ May 17, 2026

When storageManager.autoload is set to false in GrapesJS, the editor explicitly avoids loading any previously saved project data, including the styles applied to the wrapper (which is typically the <body> element by default). This means GrapesJS starts with a minimal, unstyled <body> element, as yo...

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.