GrapesJS Issues

3,464 parsed GitHub issues 370 solved · 90 open. Search, filter and explore battle-tested answers.

231 issues found

🔍 general
#3240Jan 18, 2021by marcepoblet2 answers
0 reactions

UndoManager: combination between undo and redo is not working properly, lost some styles

https://user-images.githubusercontent.com/64096863/104953457-35adf180-59a5-11eb-85bd-2f84ffa24d83.mp4 The styles of the text and button blocks are lost after deleting them from the template, and undo the changes and redo them several times. The issue is that the styles applied from the blocks, are lost after apply the...

artf

It should be fixed in the latest release, please follow the issue template properly and ensure to use the latest version before submitting a bug

GJSBlock

Thanks for reporting this, @marcepoblet. Thanks for sharing your report about UndoManager: combination between undo and redo is not working properly, lost some styles. To help the team investigate and prioritize this: Please provide: A min...

#3237Jan 15, 2021by Abhisheknanda13444634 answers
2 reactions

Add Trait For wrapper

Hi @artf I've added trait for wrapper this way. How can I perform the init function for the same Here is the code @artf Could you please help me? Thanks.

artf

You can use this option from components on init https://github.com/artf/grapesjs/blob/69e5ab2c1176e6fdeac1b058398cca55efe92df3/src/dom_components/config/config.js#L9 PS: stop annoying other people with your issues, please or I have to bloc...

Abhisheknanda1344463

Sorry @artf I'll keep this in mind. Thanks

Abhisheknanda1344463

@ryandeba Any suggestion?

#3236Jan 15, 2021by Aidencto1 answer
0 reactions

XX Language support

Help IM looking for Czech if possible I'm also looking for French, Spanish, German, Polish, please help

GJSBlock

Thanks for reporting this, @Aidencto. Thanks for sharing your report about XX Language support. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/JSFiddle) Your GrapesJS version n...

#3230Jan 13, 2021by alivex3 answers
0 reactions

Modal won't open after closing it dynamically

Hello; Thank you guys for the great tool, I just love the documentation, the easy to use/understand. I think I ran into an issue with the modal not opening again after closing it dynamically the first time. example:

artf

I can't reproduce it on the official demo, eg. But just checking your code I'd say it doesn't open because you're closing it immediately after (just after the open is triggered), am I missing something?!

no-response[bot]

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...

GJSBlock

Thanks for reporting this, @alivex. Thanks for sharing your report about Modal won't open after closing it dynamically. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/JSFiddle)...

#3226Jan 11, 2021by chenjingling902 answers
0 reactions

How to make 4 properties in one row,like padding,margin

How could I control the properties to be show in one row or two, like the demos? When I download the project grapesjs-preset-newsletter to local, also shows padding and margin in two rows which is puzzling. In fact,I would like to put them flexible with customized rows and columns. Or at least, 4 properties can be con...

artf

Just use the CSS

GJSBlock

Thanks for reporting this, @chenjingling90. Great question about FEAT: how to make 4 properties in one row,like padding,margin. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documenta...

#3221Jan 7, 2021by lebonsavane2 answers
0 reactions

Button into a textarea

Hello everyone, I need to put a button into a textarea how can i do ? Is a property to modify or something else ? And is it possible in fact to do it ? Thanks for your answer @artf

artf

No, you can't, the textarea contains only text

GJSBlock

Thanks for reporting this, @lebonsavane. Great question about Button into a textarea. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the...

#3219Jan 6, 2021by Abhisheknanda13444632 answers
0 reactions

Add Type for block and css with class name

Hi @artf I am stuck on one thing I want to add one block in which I want to add style with the class name also Here is my code -: This give me the exact thing what I wanted like HTML-code in the HTML section and style part in the style section but I want to add a new trait for the same and how can I define type in thi...

artf

and make yourself a favor, stop defining entire sections in blocks, use a component-oriented approach so your blocks will be mainly like this:

GJSBlock

Thanks for reporting this, @Abhisheknanda1344463. Thanks for sharing your report about Add Type for block and css with class name. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbo...

#3214Jan 1, 2021by Abhisheknanda13444632 answers
0 reactions

Ckeditor Enable for header type

Hi @artf I've added the CKEditor in the grapesjs and it's working fine but the problem is on the header-block CKEditor is not showing up I've tried to add the format tags but it didn't work. Could you please help me Thanks

artf

Please confirm/ensure it's related to GrapesJS and not CKEditor as it might be an expected behavior (might be also against HTML5 specs as I don't see a reason to have a content editable header...)

GJSBlock

Thanks for reporting this, @Abhisheknanda1344463. Thanks for sharing your report about Ckeditor Enable for header type. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/JSFiddle)...

#3208Dec 24, 2020by burgil2 answers
1 reactions

Using GrapesJS Without NPM?

Hey there, Is it possible to use the web builder features on a normal hosting provider without npm? say apache or other solutions? Thank you!

gixid192

You can check the document here: https://grapesjs.com/docs/getting-started.html#import-the-library

GJSBlock

Thanks for reporting this, @burgil. Great suggestion about Using GrapesJS Without NPM?! While this specific feature isn't yet in the core API, there are several ways to achieve similar behavior. Using the event system: Alternative approach...

Browse all topics