BUG: Component disappears when we select all the inner text and use backspace. Link component disappears even when we try to update the text.
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Version 104.0.5112.101 (Official Build) (arm64)
Reproducible demo link
https://codepen.io/faisal-praella/pen/rNvOwgR
Describe the bug
How to reproduce the bug?
- Select a component, double click, and ctrl+a to select the text and click backspace.
- Notice component disappears, and is not selectable or editable.
What is the expected behavior? The component should not disappear.
What is the current behavior? Component disappears, and is not selectable or editable.
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (3)
This happening due to these styles.
Remove them and it will work properly.
@FaisalShaikhHA are you able to provide a reproducible demo as I'm not able to reproduce it from the official demo?
@artf here is the demo: https://codepen.io/faisal-praella/pen/rNvOwgR Select a component, double click, and ctrl+a to select the text and click backspace. Notice component disappears, and is not selectable or editable. Link component disappears even when we try to update the text. Please refer above video.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #6269
BUG: Component model and view inits every time it's dragged over every component present in Canvas on which it can be dropped into
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 130.0.6723.59 (Official Bui...
Issue #4608
BUG: After upgrading from 0.19.4 to latest version 0.20.1, icons under layer manager not visible.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 104.0.5112.101 (Official Build) (a...
Issue #4572
BUG: Page update event doesn't fire
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome Reproducible demo link https://jsfi...
Issue #5141
BUG: component resets attribute values on updating traits ( first time only )
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 113.0.5672.63 Reproducible...
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.