GrapesJS Issues

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

1180 issues found

#5990July 4, 2024by ihatov083 answers
1 reactions

BUG: When you delete a component, duplicate classes between components will be deleted.

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 126.0.6478.127(Windows) Reproducible demo link https://jsfiddle.net/t06s4oLb/8/ Describe the bug How to reproduce the bug?Add section1 to canvasAdd section2 to canvas under section1remove section2 from canvas.The st...

artf

You should avoid putting shared styles in component-related ones. Check this discussion on how to prevent this: https://github.com/GrapesJS/grapesjs/discussions/5968

ihatov08

As a temporary workaround, styles for each component are prefixed with id.

ihatov08

@artf thank you for your reply. I would like to confirm #5968

#5989July 4, 2024by ihatov082 answers
1 reactions

BUG: Cannot be selected on canvas if tags are nested

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 126.0.6478.127(Windows) Reproducible demo link https://jsfiddle.net/vbu18q5f/2/ Describe the bug How to reproduce the bug?Cannot be selected on canvas if tags are nested Section 2 block in demolink has a div tag ins...

ihatov08

@artf Sorry, frameworks don't solve everything as you say. I'll make sure to read the documentation properly from now on. Thank you for your reply.

artf

This is not a bug but more of a UX issue related to how in general HTML works, that's also the exact reason why we provide "select parent" button in the toolbar. Don't expect the framework to fix all the problems for you, It's up to the de...

#5984July 2, 2024by Ju99ernautNo answers
0 reactions

BUG: " " are getting removed by RTE

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v123.0.6312.124 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Add a text elementOpen RTE and type a wordSelect the word and make it a link or wrap for styleAdd space...

#5982July 2, 2024by ihatov081 answer
1 reactions

BUG: Component styles such as md:flex-row(tailwind) are removed

GrapesJS version[x] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 126.0.6478.127Reproducible demo link https://jsfiddle.net/6m53pwy7/4/Describe the bug How to reproduce the bug? I'm looking to use Tailwind with GrapesJS, but this framework uses Utility-First CSS Classes to build qui...

artf

You need to escape properly the CSS

#5969June 25, 2024by uncldrwNo answers
0 reactions

BUG: Name of @container directive is missing a space when exporting CSS

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome LTS Reproducible demo link / Describe the bug I noticed that the @container directive is missing a whitespace when exporting the code. This is the code I provide: To use it in a custom block, I save the CSS into the...

#5942June 12, 2024by adarshsingh1971 answer
0 reactions

BUg in RichTextEditor

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome Reproducible demo link i have given the code in issues Describe the bug Screencast from 12-06-24 03:09:58 PM IST.webm problem is right after applying any bold or italic it is getting disappeard once i click somewher...

artf

From the official demo it looks to work as expected, so I guess it's related to your custom logic. Please provide a minimal reproducible demo of the issue.

#5941June 11, 2024by shahsalmanbukhari2 answers
1 reactions

BUG: GrapesJS CDN not working

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 125.0.6422.113 Reproducible demo link <script src="https://grapesjs.com/js/toastr.min.js"></script> Describe the bug How to reproduce the bug?just click on anyone of these link, thy will show you 404 page What is th...

artf

Hey @shahsalmanbukhari what you're referring to is not a CDN, but simple assets on the public website. Please don't use them as there is no versioning or even guarantee they won't be moved (as it happened due to the move of the website). U...

shahsalmanbukhari

Hey @shahsalmanbukhari what you're referring to is not a CDN, but simple assets on the public website. Please don't use them as there is no versioning or even guarantee they won't be moved (as it happened due to the move of the website).Us...

#5937June 10, 2024by nimisha7442 answers
0 reactions

image send to mail

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? chromeReproducible demo link https://grapesjs.com/demo-newsletter-editor.html https://prnt.sc/SyoEBQMUJbO8Describe the bug How to reproduce the bug? i am making the demo from prapes js newsletter demo and coping the html and...

artf

@nimisha744 issues in this repo are only for the bugs related to the core framework, demos are there only for demonstration purposes of the framework capability.

nimisha744

can you please help me to get this code ? https://prnt.sc/qAb-i9M5c6SF bt this i am getting only html let html = editor.getHtml(); also please give the options for newsletter image and in sidebar i am getting name not icons pls share optio...

#5929June 6, 2024by mcnika1 answer
0 reactions

BUG: GrapesJS Fails to Apply Styles to Wrapper

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 125.0.6422.141 Reproducible demo link N/A Describe the bug When setting the following configuration for the storage manager: storageManager: { autosave: false, autoload: false, } The wrapper style is disappears ( t...

artf

The reproducible demo is required for a bug report.

#5923May 31, 2024by MarceloBD1 answer
0 reactions

BUG: GrapeJs not loading on browsers sometimes

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Firefox 126.0.1Reproducible demo link https://grapesjs.com/demo.htmlDescribe the bug How to reproduce the bug?Open your firefox browser and go to the demo link What is the expected behavior? The editor should show a white sc...

nhan-nguyen-se

@MarceloBD How did you manage to solve this? I'm facing the same issue.