GrapesJS Issues

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

743 issues found

πŸ” bug
#3932Nov 9, 2021by rakelley2 answers
0 reactions

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

GJSBlock

Thanks for reporting this, @rakelley. Security and dependency issues are important. The GrapesJS team actively works on keeping dependencies up-to-date. For you right now: Run npm audit fix to see available patches Check for a newer Grapes...

#3931Nov 9, 2021by mrobertshaw4 answers
0 reactions

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

#3917Nov 2, 2021by denny993 answers
1 reactions

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

GJSBlock

Thanks for reporting this, @denny99. Security and dependency issues are important. The GrapesJS team actively works on keeping dependencies up-to-date. For you right now: Run npm audit fix to see available patches Check for a newer GrapesJ...

#3902Oct 30, 2021by josh-fnbtech4 answers
4 reactions

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?

#3883Oct 21, 2021by akhalid-dev1 answer
0 reactions

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

GJSBlock

Thanks for reporting this, @akhalid-dev. Great suggestion about GrapesJS export functionality and 'View Code' functionality and the Canvas not operating in a similar manner with regards to hex colors.! While this specific feature isn't yet...

#3879Oct 20, 2021by mortimerz1 answer
0 reactions

Updates on the Selector Manager not being tracked by Undo Manager

Hello @artf ! I made this bug issue as suggested in my question on How to add the Selector Manager events/actions to the Undo Manager stack. I think what we want to have is for the Undo Manager to be able to keep track of the events/actions that are happening in the Selector Manager. Thanks!

GJSBlock

Thanks for reporting this, @mortimerz. Great question about Updates on the Selector Manager not being tracked by Undo Manager. The recommended approach with UndoManager is to use the event-driven API. Start here: Check the GrapesJS documen...

#3878Oct 20, 2021by Sudhin354 answers
0 reactions

Not able to rename the page name and page id if we are using multipage concept

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome v9Reproducible demo link Not thereDescribe the bug How to reproduce the bug?Install the grapes js in react appOpen the grapes js editorImplement the multipage concept in the grapes js initCreate a button for the renam...

Sudhin35

@artf Is there no way to do so currently ? Please help me out for this issue , i am blocked

artf

@Sudhin35 next time please open a discussion, as there is no real bug to fix or reproduce. Anyway, this is how you'd do it right now page.set({ id: 'new-id', name: 'new name' })

Sudhin35

@artf Thanks for the response , actually i was stuck so i have raised as bug , from next time will open discussion but now after using the above command i getting this error Please help if there is any issue in my code

#3873Oct 19, 2021by JGiard3 answers
0 reactions

Duplicated video block when re-attaching GrapesJs editor to document

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v94 Reproducible demo link https://jsfiddle.net/3mrzaqtx/ Describe the bug How to reproduce the bug?Add a video block to the canvasRemove the GrapesJs editor element from the document (Optional)Re-attach the GrapesJ...

JGiard

I've created a pull-request with what I would expect a fix to look like, given my understanding of the issue.

artf

No, you should never rely on something like this, or you destroy and reinit, or you simply hide and show the editor.

GJSBlock

Thanks for reporting this, @JGiard. Great question about Duplicated video block when re-attaching GrapesJs editor to document. The recommended approach with Canvas is to use the event-driven API. Start here: Check the GrapesJS documentatio...

#3866Oct 16, 2021by inventorbit4 answers
2 reactions

SVG Not rendering when inside any HTML Element

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Version 94.0.4606.81 (Official Build) (64-bit)Reproducible demo link https://grapesjs.com/demo.htmlDescribe the bug How to reproduce the bug? Add any SVG directly it will be visible in the canvas - then wrap the same SVG ele...

marcosvnmelo

I keep having this problem in version 0.17.19

marcosvnmelo

I'm sorry I just spelled it wrong. I meant 0.17.29.

artf

Thanks for the report @inventorbit I can see an issue in parsing the <path> tag. I'll investigate and try to fix it for the next release.

#3861Oct 12, 2021by heminei1 answer
0 reactions

JS error when press "s" or "w" key - Cannot read properties of undefined (reading 'indexOf')

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 94.0.4606.81 (Official Build) (64-bit) Reproducible demo link https://jsfiddle.net/szLp8h4n Describe the bug How to reproduce the bug?Select body elementPress "s" or "w" key What is the expected behavior? Sh...

GJSBlock

Thanks for reporting this, @heminei. Great question about JS error when press "s" or "w" key - Cannot read properties of undefined (reading 'indexOf'). The recommended approach with Canvas is to use the event-driven API. Start here: Check...

Browse all topics