GrapesJS Issues

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

3464 issues found

#4735November 17, 2022by vaneatka2 answers
0 reactions

BUG: resetId types mismatch

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? n/a Reproducible demo link n/a Describe the bug How to reproduce the bug?. Go to https://github.com/artf/grapesjs/blob/dev/src/dom_components/model/Component.js#L1839.. Go to https://github.com/artf/grapesjs/blob/dev/index...

artf

This first one is the component method, the second is the block property (used here)

vaneatka

the reason I opened this issue is that the method is not visible. maybe there is need to a new entry for the method declaration in the types? like for the setId /*Set new id on the component / setId(id: string): this;

#4732November 17, 2022by Rilvatore3 answers
0 reactions

BUG: Tabs behaviour after HTML import

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 107 (MacOS) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Drag and drop the Tabs block into the editor contentClick on the "import" button on the topChange something...

artf

This is not related to the core but more to the Tab plugin which is not re-importable by default.

Rilvatore

Hey! Thanks a lot for the answer. In fact, the issues seems to come from the reimport code & store manager, that does not update the JSON part of the code. Would you have a way to take a look? Or should we create the same ticket on the tab...

artf

It's related to the Tab plugin as once you print its HTML there is no way to reimport is back. You can actually extend the Tab component and add the isComponent method to allow the parser to identify the component.

#4727November 12, 2022by dreamsightNo answers
0 reactions

BUG:

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Version 107.0.5304.107 (Official Build) (64-bit) ChromeReproducible demo link NO NEED anyone can reproduceDescribe the bug when saving HTML and CSS the program formats Converts CSS i.e. "@keyframes slide {" TO "@media slide{...

#4719November 9, 2022by ronaldohochNo answers
0 reactions

BUG: Strange behavior when trying to change color of buttons and texts

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave last version Reproducible demo link https://jsfiddle.net/qsd9zjrc/ Describe the bug How to reproduce the bug?Open the link (https://jsfiddle.net/qsd9zjrc/)Try to change text colorTry to change green button color by c...

#4704November 2, 2022by PaulSchultNo answers
0 reactions

BUG: Angular Component as Custom Color Picker is only created once

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 104.0.5112.101 Reproducible demo link https://codesandbox.io/s/awesome-dewdney-bwo5t1 Describe the bug How to reproduce the bug?Add the Text block to the content of the editor Open the StyleManager and expand the D...

#4700October 31, 2022by Aar-if1 answer
0 reactions

BUG: Add images to Asset Manager

Thanks

artf

Not a bug, you just need to refresh the AssetManager assets (editor.Assets.clear().add(newAssets)) as the editor is probably already loaded.

#4699October 31, 2022by DhanaDSP11201 answer
0 reactions

BUG: Undo not working properly on InsertHTML in text block

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome v107 Reproducible demo link https://jsfiddle.net/4vacxuw2/2/ Describe the bug I added an custom toolbar to insert some value in current position through rte.insertHTML options ,it works good. But when try to undo (c...

artf

Hi @DhanaDSP1120 yeah unfortunately that is expected from rte.insertHTML as it uses a custom insertion. If you need to preserve the native editing undo stack you can use this API

#4691October 26, 2022by DhanaDSP11201 answer
1 reactions

Undo manager - Not working properly, when we try to apply and undo the background color then made click outside the block, then the removed color will appears

Undo manager - Not working properly, when we try to apply and undo the background color then made click outside the block, then the removed color will appears It occurs on version 0.19.4 to till latest , its working fine on below versions Reproduce links Working version : https://jsfiddle.net/0vpbLmxy/ Not working ver...

artf

Seems to be an issue with the color picker itself, I'll try to fix it for the next release. ps: for bug reports you don't need to create the discussion first, you can open directly the issue by following the template. This will also avoid...

#4682October 22, 2022by nabtron3 answers
0 reactions

BUG: Module not found: Error: Can't resolve 'utils/mixins'

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? chrome 106Reproducible demo link localhostDescribe the bug i updated my project containing grapesjs, however now i get this error: when i run my project, i get this error: this is what top 2 lines of module.js has: I have tr...

artf

You shouldn't try to compile grapesjs source code as the source could contain bundler-related content (as the one you mention, it's not an external package)

nabtron

@artf you shouldn't try to close tickets without reading them first. If you will read the issue, you will see that i mentioned when i "updated" it, i updated it using npm i by changing grapesjs version in package.json to latest version. Th...

artf

Yeah I understand that you have simply updated the version but it looks like you're trying to read the source of the grapesjs package, which is wrong (probably in the future, the src folder will be even removed)

#4681October 21, 2022by Aar-if2 answers
0 reactions

BUG: Asset manager upload sending empty object to backend endpoint

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Firefox Reproducible demo link NA Describe the bug What is the current behavior? I have created a custom backend endpoint for storing my assets, when I used the upload method of asset manager it is not sending any data to...

artf

Sorry but by simply trying to submit an asset the payload I see is correct, so without a reproducible demo, it looks to be an issue on your backend side (ensure to have the proper body-parser).

Aar-if

Thanks, worked using Multer, the issue was with the body parser.