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?
- 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)
Awesome @artf you are a rockstar!
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.
Issue #5729
BUG: editing/replacing the text inside of a link
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v122 Reproducible demo link https:/...
Issue #5746
BUG: ColorPicker Offset incorrect when Panels are outside of Editor Container
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v122 Reproducible demo link https:/...
Issue #4257
BUG: Background modification doesn't work for non-images
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v100 Reproducible demo link https:/...
Issue #4208
BUG: Style click state bug in every element
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave Last, tested on chrome last and Safa...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.