GrapesJS Issues

3,464 parsed GitHub issues โ€” 370 solved ยท 90 open. Search, filter and explore battle-tested answers.

569 issues found

๐Ÿ” canvas
#1606November 26, 2018by tranthanhhoa1 answer
0 reactions

[Bug] Input disappear on clear

How to reproduce it:Goto https://grapesjs.com/demo.htmlDrag a form in Forms category into canvasType something => focus out => focus in => hit delete key Result: Input disappear Expect: Input shouldn't disappear when user delete text

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1581November 14, 2018by FjStudioDev2 answers
0 reactions

[Question] AssetManager not shown uploaded images

Hi all, I'm using grapesjs - 0.14.33. I have successfull implemented StorageManager in remote mode, I can load and store data. I have successfull implemented AssetManager, I can load/upload image. I'm not able to understand why asset correctly upload are not shown in asset pop up window (select image) I have read docs...

FjStudioDev

Found workaround follow this #372

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1567November 8, 2018by alimajed933 answers
1 reactions

rte toolbar bug

Hello all, I am using the latest grapesjs stable version (40) and I noticed the following bug in the rich text editor: If the user drags and drop a rich text editor into the canvas, clicks on it and tries to clone it per example (or any action in the toolbar like delete, ...), no action will happen. The user has to se...

arthuralmeidap

PR: https://github.com/artf/grapesjs/pull/1800

artf

Yeah, that happens because of this check, being in editing mode we need to prevent some actions (eg. clicking canc/backspace triggers the same command). Probably we need to put some kind of force option

alimajed93

Hi @artf , Oh I see. Can you please give me some examples of why we added this check? I mean what problems were we having and were solved by this check? Thanks.

#1563November 6, 2018by tranthanhhoa3 answers
1 reactions

[Bug] Trait - Change Video Provider issue

Version: 0.14.40 Bug: When you change "Provider" field -> all settings gone. It happens in Chrome, Safari and Firefox, last versions. How to reproduce it:Goto https://grapesjs.com/demo.htmlDrag a video block in Basic category into canvasChange "Provider" field Expect: Result:

artf

Thanks for the report @tranthanhhoa I'll fix it in the next release

Chilli-B

Hello, sorry but this has not been fixed on version 0.14.41. The bug still exists.

artf

@Chilli-B the latest release is https://github.com/artf/grapesjs/releases/tag/v0.14.40

#1539October 24, 2018by himanshubudhlakoti3 answers
0 reactions

How and where to define form's action in grapesjs

Hello All, how can i get data from forms in grapesjs. i have droped a form on canvas as u can see that below . so there is an action property as as mentioned in above snapshot covered by red coloured rectangle. i have put and action value. so where i can define this action in my code in which i can get that form's dat...

AshishTiwariMEAN

Hello Team, Need your suggestion about the same because of we need to use form builder in our application so we can easily customise our form also we need to get user input. Waiting for your reply... Thanks,

artf

If you want to define the action before dropping the form (eg. defined in the block) you just need to specify it as an attribute <form action="your/end/point" method="POST">

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1535October 22, 2018by christopherserrao052 answers
0 reactions

[Bug]: After custom component is deleted the Trait's view does not clear out

Hi, I'm using the grapesjs library version 0.14.33. I've created some custom components and I've noticed that on deleting the components the Traits panel does not clear out. For instance when the canvas loads and no component is selected, the Traits panel does not display any traits. The traits are displayed only afte...

artf

Ok thanks for the report. I'll fix that in the next release

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1528October 18, 2018by nine-2-five2 answers
0 reactions

[Bug] The custom block doesn't execute its script when autoloaded from localStorage

I'm using the following code for my custom block, and it works when the block is dropped on the canvas. But when the block is loaded from localStorage, it only creates a div wrapper and doesn't execute the content.script part of custom block.<br> I tried simplifying the script property to just alert or console call bu...

nine-2-five

False alarm, sorry. I checked the grapesjs-preset-webpage, and realized I was registering the block but no component. Once I added the component to editor.DomComponents, it started rendering the carousel even when loaded from localStorage.

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1526October 18, 2018by gasserol3 answers
2 reactions

[QUESTION] how to make fullscreen command

Hi, unfortunately I do not find documentation and can't manage to get it understand from code: I know there is a built-in command 'fullscreen', but with my configuration (from tutorial) it does load only canvas in fullscreen, no panels. Here is my html code: and here my panel code: Can somebody put me on the right way...

electrotype

@nativeer I had the same problem. My workaround is to call stopCommand before runCommand: Seems to work for me.

artf

Good point, the default Fullscreen command enables the fullscreen on the container (#gjs) but with external panels this obviosly doesn't work, and this is why you see only the canvas. I'd really appreciate a PR for a new option which would...

gabjdev

Hi @artf , Above code worked for full screen, but after I exit full screen manually, it doesn't work anymore. Could you post code to exit full screen with same button?

#1517October 15, 2018by himanshubudhlakoti2 answers
0 reactions

How to add shape's block on blockmanager in grapesjs

Hello All, I am new in greapsjs. i have a query is it possible to add shapes( Rectangle , Triangle , Square) on blockmanager as we add sections. i want to add shape's block on block manager and when i drop this shape on canvas then it should be appear there just like other blocks such as sections. please let me know

artf

You can put inside blocks any HTML/SVG/CSS you want, how you achieve the result (Rectangle , Triangle , Square) it's up to you

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1511October 12, 2018by mcsekar121 answer
0 reactions

[QUESTION] Change the html content of the selected component

I am trying to replace the html of the basic Text componet using the below code const component = editor.getSelected(); component.set('content', 'Test'); It gets changed in the canvas but the code still has 'Insert Your text here' appended to it as shown in the below image.

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.