GrapesJS / GrapesJS/components-custom-code

BUG: CSS added via custom code persists after custom code component is removed

オープン
#38 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
81
フォーク
47
PR マージ指標
30日以内にマージされた PR はありません

説明

### GrapesJS version

- [X] I confirm to use the latest version of GrapesJS

### What browser are you using?

any

### Reproducible demo link

https://grapesjs.com/demo

### Describe the bug

**How to reproduce the bug?**
1. Add custom code component with HTML + CSS
2. Delete custom code component.

**What is the expected behavior?**
All code should be removed, including CSS

**What is the current behavior?**
custom CSS is **not** being removed, though the rest is.

[gjs.webm](https://github.com/user-attachments/assets/3fbd9a6d-ad0e-4fc6-add8-7cf31ae9293c)

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。