GrapesJS Issues

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

3464 issues found

#3947November 16, 2021by confettidc3 answers
0 reactions

BUG: selection box not clickable in editor

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Firefox 94.0.1Reproducible demo link https://grapesjs.com/demo.htmlDescribe the bug How to reproduce the bug?Try drag a selection box into form in above demo site can reproduce the issue... What is the expected behavior? Sel...

artf

If you're talking about the Select component from the form plugin, in that case, options are displayed as traits.

confettidc

Yes, but selection box still not clickable even in preview? Thanks.

thomas-le-goff

Hello, This problem is due to this line (https://github.com/artf/grapesjs-plugin-forms/blob/master/src/components.js#L186). It could be interesting to enable the event only in case the editor is in preview mode? Then is it really useful to...

#3940November 13, 2021by dan-castillo1 answer
0 reactions

BUG: Issue with updating Button text

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome - Version 95.0.4638.69Reproducible demo link two places: https://grapesjs.com/demo.html and I have a repo here: https://github.com/dan-castillo/TestingGjsV1729.gitDescribe the bug How to reproduce the bug?Go to the fo...

artf

This is just the problem with the webpage preset which has the old reference to the form plugin, not related to the core.

#3939November 13, 2021by xQwexx3 answers
0 reactions

BUG: Disabled drag and drop in preview

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? v95Reproducible demo link https://codesandbox.io/s/grapes-border-issue-forked-2c0ib?file=/src/index.js:10258-10261Describe the bug How to reproduce the bug? I am trying to create a custom component, which contains drag end d...

artf

Hi @xQwexx what would be your solution in such a case? We still need to keep the D&D disabled in the preview. Can you also post your component code in order to understand better the use case?

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...

xQwexx

Hi @artf I updated with a demo, also my suggestion would be that use the attributes: { draggable: 'true'}, indicator if the component is draggable in preview and leave the drag handling for the component template like attributes: { draggab...

#3938November 12, 2021by mingxin-yang1 answer
0 reactions

BUG: editor.select(model,{scroll:true}) ,scroll don't work

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://codepen.io/mingxin-yang/pen/YzxLNay Describe the bug How to reproduce the bug?editor.select(model,{scroll:true}) ,scroll don't work... What is the expected behavior? Click the block, a...

artf

Thanks @mingxin-yang This will be fixed in the next release.

#3932November 9, 2021by rakelley1 answer
0 reactions

BUG: Trait add/remove can fail because collection type is inconsistent

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave Version 1.31.88 Chromium: 95.0.4638.69 (Official Build) (64-bit) on Linux Reproducible demo link https://jsfiddle.net/0a3o7cL6/ Describe the bug Methods which operate on a component's trait collection (e.g. addTrait...

artf

Yeah, I'll fix it in the next release, thanks

#3931November 9, 2021by mrobertshaw3 answers
0 reactions

BUG: Color trait type not working correctly

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Latest Reproducible demo link N/A Describe the bug Firstly, thank you so much for a wonderful piece of software - I absolutely love it !! I have just updated to the latest GrapesJS (was previously on a v 0.16.x vers...

artf

Thanks @mrobertshaw for the report. The fix will be available in the next release.

miladmeidanshahi

@artf many thanks for the fix, please release as asap.

miladmeidanshahi

still same error after upgrade to latest version. @artf

#3917November 2, 2021by denny992 answers
1 reactions

BUG: Compilation Error with Typescript

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Crome 95 Reproducible demo link none Describe the bug How to reproduce the bug?Add ts config fileAdd grapes as dependencyImport Grapes via import * as grapesjs from 'grapesjs'; and @import "~grapesjs/src/styles/scss/main.s...

artf

Hi Denny, thanks for the report. I'm closing this in favor of #3902 as it should be related (even if the error is different). Please try the new version and let me know if it fixes the issue.

marcosvnmelo

I'm working on a React + Typescript project and i'm having this same error on .28 version

#3902October 30, 2021by josh-fnbtech3 answers
4 reactions

BUG: Super expression must either be null or a function

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v95 Reproducible demo link can't reproduce on those links Describe the bug trying to import grapesjs in an ember app. Code of Conduct [X] I agree to follow this project's Code of Conduct

artf

I published the new 0.17.29 version on npm. Please try it and let me know if it fixes the issue.

nik736

Setup my new MBP and this happens to me as well. +1

artf

@abozhinov are you talking about the 0.17.28 or 0.17.29?

#3883October 21, 2021by akhalid-devNo answers
0 reactions

BUG: GrapesJS export functionality and 'View Code' functionality and the Canvas not operating in a similar manner with regards to hex colors.

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v91 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Headover to the website: https://grapesjs.com/demo.html.Clear the canvas for a simpler demonstration.Drop in a text...