GrapesJS Issues

Search parsed GitHub issues, see highlighted answers, and open the original discussion when needed.

1180 issues found

#6549June 25, 2025by yashvi20263 answers
1 reactions

BUG: Couldnt Resize image

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://codepen.io/Harshsne/pen/YPXdgmj Describe the bug How to reproduce the bug? upload an image change it to mobile view resize the image What is the expected behavior? When manually changi...

mosh-tudor

@yashvi2026 That's because of your custom CSS code. Remove this part: from editor.BlockManager.add('image', {

artf

I confirm the component resizer doesn't account for !important right now, but I'd follow, more or less, what @mosh-tudor suggested. You don't need to remove the entire styles, as my guess is what you need, but I don't see the point of havi...

yashvi2026

I need to use !important in my style. I've noticed that in other components, when !important is included in the default styles, the styles added through the style manager also include !important to ensure they override the default. So, whe...

#6543June 15, 2025by ZedonboyNo answers
0 reactions

BUG: Panel not removed

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? chrome Reproducible demo link none Describe the bug How to reproduce the bug? From the tutorial My CSS style What is the expected behavior? A blank canvas What is the current behavior? ... If is necessary to execute some c...

#6535June 6, 2025by MikeCraig4182 answers
0 reactions

BUG(v 1.0.48): Pasting rich content splits attribute values into individual attributes

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link Change your version from 1.0.48 to 1.0.47 Describe the bug How to reproduce the bug? Copy rich content from word Paste into Grapes I'm using self hosted options What is the expected behavior?...

MikeCraig418

For more context, the HTML formatted content disappears from Grapes. The HTML stores strings like:

artf

What Rich Text Editor are you using? Are you able to provide a way to reproduce it (eg. a way I can copy the same text)?

#6527May 22, 2025by tim-prom1 answer
1 reactions

BUG: Malformed inline styles causing editor freeze

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 138.0.4 Reproducible demo link https://codesandbox.io/p/sandbox/exciting-lalande-98d5vw Describe the bug How to reproduce the bug? Add page with component that has malformed inline styles Editor does not load and e...

artf

Thanks for the report @tim-prom

#6518May 14, 2025by jaredtmartin1 answer
0 reactions

BUG: Getting Started doesn't show Blocks as written

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 136.0.7103.93 Reproducible demo link https://jsfiddle.net/j826eL51/ Describe the bug How to reproduce the bug? Follow the steps in the Getting Started page When you get to Add Blocks, the blocks don't appear. What i...

artf

Thanks for the report @jaredtmartin

#6515May 13, 2025by jsxOverdose1 answer
0 reactions

BUG: Resizing an element affects all elements with the same class

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 136.0.7103.93 Reproducible demo link https://jsfiddle.net/L4pu0tzc/ Describe the bug How to reproduce the bug? Add multiple image elements to the editor. Assign the same class name (e.g., class="shared-class") to ea...

artf

Ensure to have this option enabled: https://grapesjs.com/docs/modules/Selectors.html#component-first-selectors

#6502April 25, 2025by jsxOverdose1 answer
0 reactions

BUG: Inline style overrides ID-based CSS rules

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v135.0.7049.96 Reproducible demo link https://jsfiddle.net/bqkLwt8j/ Describe the bug When an element has an inline style and also matches an ID-based CSS rule, the styles from the ID selector are removed - even if...

artf

Thanks for the report @jsxOverdose Will be fixed in the next release

#6494April 15, 2025by yashvi2026No answers
0 reactions

BUG: Create and destroy repeatedly throws error

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://codepen.io/Harshsne/pen/QwwLjBQ Describe the bug How to reproduce the bug? Click Create and then Destroy repeatedly and rapidly. Upon debugging, I found that the error occurs due to th...

#6485April 10, 2025by yashvi20261 answer
0 reactions

BUG: showSelectionPalette doesnt work with custom color picker

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://codepen.io/Harshsne/pen/GgRbMyg Describe the bug How to reproduce the bug? 1.Add a text box.enable rte. 2.Click the last option. 3.Change color click ok What is the expected behavior?...

mosh-tudor

@yashvi2026 Your code has many issues, and that’s why it doesn’t work. This has nothing to do with GrapesJS. You might want to use an AI tool to check your code if you're unsure what's wrong.

#6458March 20, 2025by accvi3 answers
1 reactions

BUG: sector.setName doesn't work

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfiddle.net/qbpodnm4/ Describe the bug How to reproduce the bug? Select a component in the canvas. Go to the style manager and check if "General" is renamed to "Allgemein". What is th...

mosh-tudor

@accvi https://github.com/GrapesJS/grapesjs/discussions/6031#discussioncomment-10234496

accvi

Am I doing something wrong in the code? AI couldn't help.

artf

@accvi #6031 (reply in thread) ☝️