GrapesJS Issues

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

877 issues found

πŸ” question
#4699Oct 31, 2022by DhanaDSP11202 answers
0 reactions

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

GJSBlock

Thanks for reporting this, @DhanaDSP1120. The issue with Undo not working properly on InsertHTML in text block appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DO...

#4682Oct 22, 2022by nabtron4 answers
0 reactions

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)

#4681Oct 21, 2022by Aar-if3 answers
0 reactions

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.

GJSBlock

Thanks for reporting this, @Aar-if. The issue with Asset manager upload sending empty object to backend endpoint appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and...

#4669Oct 18, 2022by micker2 answers
0 reactions

Gradient plugin doesn't works on 1.20

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome and firefox Reproducible demo link https://codepen.io/artf/full/bYwdQG/ Describe the bug implΓ©ment gradiant plugin produce js error https://github.com/artf/grapesjs-style-gradient https://github.com/artf/grapesjs-st...

artf

Yeah, there is a note on this release https://github.com/artf/grapesjs/releases/tag/v0.18.1 I just didn't find the time yet to update those plugins (any help is appreciated)

GJSBlock

Thanks for reporting this, @micker. The issue with Gradient plugin doesn't works on 1.20 appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications overla...

#4668Oct 18, 2022by GoodPHP3 answers
0 reactions

CKEditor5 + Froala + Tinymce6 into GrapesJS

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link Describe the bug CKEditor5: https://gjs.market/products/tinymce-6-inline-text-editor Froala: https://gjs.market/products/froala-inline-text-editor Tinymce6: https://gjs.market/products/tinymce...

micker

interesting feature

GoodPHP

interesting feature Thanks βœ…

GJSBlock

Thanks for reporting this, @GoodPHP. The issue with CKEditor5 + Froala + Tinymce6 into GrapesJS appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications...

#4654Oct 11, 2022by malonecj3 answers
0 reactions

Custom component for text node including special characters

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v105 Reproducible demo link https://codesandbox.io/s/fancy-brook-ppyc8v?file=/index.js Describe the bug Background: I am trying to configure grapesjs to be able to edit markup that contains the Liquid template langu...

artf

Hi @malonecj I'm not sure how exactly you would expect to see and manage those components (especially when you combine templates inside conditions) but I think your current approach in isComponent is not properly correct as you have to dea...

artf

I'm closing this one as there are no issues with the core itself, if you have any other questions @malonecj let me know.

GJSBlock

Thanks for reporting this, @malonecj. Great suggestion about Custom component for text node including special characters! While this specific feature isn't yet in the core API, there are several ways to achieve similar behavior. Using the...

#4646Oct 6, 2022by javadsamiee2 answers
0 reactions

Even/odd state don't work as expected

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? 106.0.5249.91 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Drag "1 Column" blockAdd four "Text" blocks into the columnSelect the column and choose "Even/odd" state then ch...

artf

I think you should apply Even/Odd on text components if you expect different colors on them. With Even/Odd applied on the column the effect will be visible with multiple columns. I'm closing this as it's not a bug but how :nth-of-type works

GJSBlock

Thanks for reporting this, @javadsamiee. Great question about Even/odd state don't work as expected. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific modu...

#4621Sep 27, 2022by shelendravashishtha24 answers
1 reactions

No Option found for showing multiple pages on a single canvas

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link NO LINK Describe the bug Hi, I am using grapsjs with react, found it very useful so far but I want to show all the pages created in my application to be previewed on canvas but found no option...

stljeff1

I believe you have to make your own component to show multiple pages and click between them. here is an example that I found in these forums which show how to create your own Page Manager component. https://codepen.io/artf/pen/XWpJQoY

artf

@shelendravashishtha2 use Bug Issues properly please, if you have questions, use Discussions.

dali-97

hello any one can help i need somthing that allow me to create a multiple custem page like grapesjs i need it for my diplom thanks

#4618Sep 26, 2022by TanyaKulikovskaya2 answers
0 reactions

Color input with no hash does not update color picker

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://codepen.io/ Describe the bug When using the color input with hash (hex color) everything works fine. However if I adding a hex value without hash (just digits) to the input and press e...

artf

Hi @TanyaKulikovskaya please provide a reproducible demo as from a quick check the color picker seems to work without hash

GJSBlock

Thanks for reporting this, @TanyaKulikovskaya. The issue with Color input with no hash does not update color picker appears to be a race condition or state management timing problem. This typically happens when component lifecycle events a...

#4612Sep 23, 2022by Drew-Daniels2 answers
1 reactions

Cannot Drop MJML Components onto Blank Canvas after version 0.19.4

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? 105.0.5195.125 (Official Build) (x86_64) Reproducible demo link https://codesandbox.io/s/grapesjs-grapesjs-mjml-react-bug-w7qtec?file=/src/index.js Describe the bug How to reproduce the bug?Start with a blank canvasTry dra...

artf

Thanks for the report Drew, this seems to be related to the Standards mode of the iframes. At the moment to fix it, I'd suggest switching to the Quirks mode by removing the doctype: I'm closing the issue as it's not really related to the c...

GJSBlock

Thanks for reporting this, @Drew-Daniels. Great question about Cannot Drop MJML Components onto Blank Canvas after version 0.19.4. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the GrapesJS doc...

Browse all topics