Issue #5785Opened March 29, 2024by bernesto1 reactions

BUG: Outlines persist in preview mode

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome v122

Reproducible demo link

https://grapesjs.com/demo.html

Describe the bug

This may be by design, but it seems odd given the intent.

How to reproduce the bug?

  1. Click preview (eye)

What is the expected behavior? The page is viewable as an end user would see it. All administrative markup is removed from the page.

What is the current behavior? All administrative markup 'except' the dashed outlines of components are removed.

When in preview, .${ppfx}dashed should be removed from the body, and reapplied if enabled when exiting preview.

Code of Conduct

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

Answers (2)

bernestoApril 2, 20241 reactions

Awesome @artf you are a rockstar!

artfApril 2, 20240 reactions

Thanks @bernesto there is actually an update to do on the demo side. I prepared the change and will fix it on the next release.

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.