GrapesJS Issues

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

3464 issues found

#5357September 3, 2023by peters-ben-0007No answers
0 reactions

BUG: (type issue) cannot pass HTMLElement as icon when adding new rte action

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfiddle.net/vmeywbk8/11/ Describe the bug Just a small type issue we came across - when adding an action to the RichTextEditor, the "icon" property of RichTextEditorAction is marked a...

#5355September 1, 2023by andcmatiasNo answers
0 reactions

BUG: On move layer

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 116 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Open the layer manager and try to move the componentIt will disable the component and show the errors in the consol...

#5354September 1, 2023by rozek3 answers
0 reactions

BUG: canvas.script entries do not respect an "import map"

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Version 1.56.20 Chromium: 115.0.5790.171 (Offizieller Build) (arm64)Reproducible demo link noneDescribe the bug scripts referenced by canvas.scripts can not import third-party modules based on an "import map". if the same mo...

artf

https://github.com/GrapesJS/grapesjs/issues/5353#issuecomment-1704023749

rozek

have you tested them? when trying in the current version of GrapesJS, I get the following (expanded) error message in the browser log:

rozek

trying to use a data URI instead of a file reference failed as well

#5353September 1, 2023by rozek2 answers
0 reactions

BUG: canvas.script entries can not be JS modules

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Version 1.56.20 Chromium: 115.0.5790.171 (Offizieller Build) (arm64)Reproducible demo link noneDescribe the bug links entered into can not refer to JavaScript modules, or you may run into the following error: This makes it r...

artf

rozek

good to know, thanks

#5352August 31, 2023by rozek2 answers
0 reactions

BUG: Uncaught SyntaxError: Unexpected token '{' at CanvasView.ts:590:12

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 1.56.20 Chromium: 115.0.5790.171 (Offizieller Build) (arm64) Reproducible demo link none Describe the bug I have a component type with a script When previewing a project using a component of this type, GrapesJS cre...

rozek

that's interesting: defining a separate function and defining the component type as described in the docs works as designed. But it still sounds strange, that an inline function produces a syntax error in the exported HTML...

artf

@rozek good catch, will fix for the next release

#5346August 30, 2023by pittleCheung2 answers
0 reactions

BUG: Deleting a component without deleting its corresponding style

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? latest version of Chrome Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug? <img width="1665" alt="image" src="https://github.com/GrapesJS/grapesjs/assets/114127651/657cbaf6-7e...

pittleCheung

Extended idea from https://github.com/GrapesJS/grapesjs/issues/1855

artf

Here it's explained how to create components with related styles https://grapesjs.com/docs/modules/Components.html#components-css Only in that case, it would be safe for the editor to delete related styles.

#5342August 26, 2023by wsacaNo answers
0 reactions

BUG: scrollCanvas doens't work

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 116.0.3 Reproducible demo link https://grapesjs.com/demo-mjml.html Describe the bug How to reproduce the bug?On the canvas scroll to the bottom and select a componentOpen the layersSelect a component that is at the...

#5339August 26, 2023by rozek1 answer
0 reactions

BUG: dragMode:'absolute' behaves strange

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Version 1.56.20 Chromium: 115.0.5790.171 (Offizieller Build) (arm64)Reproducible demo link noneDescribe the bug I want the components in my editor to be moveable by dragging. After some research, I found that is needed to ac...

rozek

sorry - this was a problem on my side which became obvious within the editor only - sorry for bothering!

#5334August 24, 2023by DreamCloudProject3 answers
1 reactions

BUG: Selection of custom component type not working in the canvas

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome, Opera, Edge, etc Reproducible demo link https://jsfiddle.net/crszh0jo/6/ Describe the bug I'm trying to make it work the same case as it described here [[QUESTION] Selection of custom components not possible from c...

DreamCloudProject

@artf Yes, you're right. I'm blocking the click propagation, and so the editor doesn't receive the click event, hence can't execute the logic to select the element. I tried setting the click propagation only on the current element by repla...

DreamCloudProject

https://github.com/GrapesJS/grapesjs/assets/7961936/12180b41-4c29-489d-9bcd-1ea025a96a8f This example shows how it works in my editor.

yatoogamii

Hi @DreamCloudProject , it seems like your component Msc-header is locked. it's an attribute which allow the component to be clicked from the layers but not from the canva itself Can you share or verify your component definition and check...

#5331August 24, 2023by rozek2 answers
0 reactions

BUG: color picker may extend viewport

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 1.56.20 Chromium: 115.0.5790.171 (Offizieller Build) (arm64) Reproducible demo link none Describe the bug This bug is similar to issue #596 which has been locked because of a lack of conversation. This version may...

artf

Thanks @rozek the PR is always welcome, so I'll be happy to review it.

artf

Closing for now as it doesn't seem to be reproducible