BUG: htmlentities > breaking remote storage - Displays undefined
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Firefox and Chrome
Reproducible demo link
I can't do a demo for remote storage
Describe the bug
Import anything that has > next to a tag with >
Example: <a href="#">></a>
Also happens like this:
<a href="#">Home</a> > <a href="#">Shop</a> >
This also breaks it...
<span class="test">Home</span> > <span class="test2">Shop</span> >
I assume that it's seeing it as doubling up the end of the tag like this > >
I can understand if there is no way to allow it. But could you at least put in some kind of filter to remove it instead of just destroying the page?
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (1)
I can't do a demo for remote storage
You don't need a demo for remote storage. The local and remote storage are using the same interface, which means if you're not able to reproduce with the locale storage, the problem is probably on your back-end side.
I see no issues with saving and loading back your content <img width="646" alt="Image" src="https://github.com/user-attachments/assets/da829381-5803-49fc-b57b-40a5b2c27208" />
Related Questions and Answers
Continue research with similar issue discussions.
Issue #6705
BUG: TypeError: Cannot read properties of undefined (reading 'toLowerCase') in keyboard handler
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? All browsers (Chrome, Safari, Firefox, Edg...
Issue #4370
BUG: LayerManager becomes unresponsive after StorageManager.load()
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 102Reproducible demo link https://cod...
Issue #4240
BUG: "index.d.ts is not a module" in 0.18.4 when grapesjs is imported with "import * as grapesjs from 'grapesjs';"
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 99 Reproducible demo link No link D...
Issue #6654
BUG: the rich-text editor cannot be activated
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? chrome v91 Reproducible demo link https://...
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.