GrapesJS Issues

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

14 issues found

🔍 can't reproduce
#965Mar 20, 2018by mandarinobellino3 answers
1 reactions

Unwanted css after refreshing page

After integrating grapes to my platform a problem comes when, after refreshing the page, I click inside an elements : this one gets the style border: 3px solid rgb(0, 0, 0); This issue goes on with every type of element I've insert in the canvas and it shows only on the first element I click after refreshing the page....

francesca-cicileo

I'm having the same issue, when using the grapesjs-preset-webpage plugin. Is there a CDN for that plugin so that I can create a demo on jsfiddle for you?

artf

@mandarinobellino I can't reproduce it by using the official demo (uses the latest version). Do you use the latest version? Are you able to reproduce a live demo?

artf

@francesca-cicileo you can use this one https://unpkg.com/grapesjs-preset-webpage

#622Dec 8, 2017by HarshOB3 answers
0 reactions

Image editor is not closed.

When I choose image component and don't choose an image for the first time then if I open image editor then It won't close after clicking on a close button.

artf

@HarshOB I can't reproduce it (with the current demo). Are you able to provide a live demo?

HarshOB

I'll provide a link to a live demo.

artf

Ok I close this for now but will reopen once you provide a demo

#507Nov 12, 2017by roytang3 answers
0 reactions

UploadFile being called twice on drop file?

I have an editor initialized as so: If I add an image to the canvas and try to upload a new image by dragging it into the drop area in the modal, the uploadFile function is called twice. Uploading by clicking on the upload area and selecting a file from the windows dialog works fine, it only calls the function once.

artf

@roytang I can't reproduce it with the current version https://codesandbox.io/s/p554z8yv7j

duskhacker

@roytang Explicitly disabling the full-width editor dropzone (dropzone: 0) fixed this for me. Using version 0.12.30

kickbk

Got the same and @roytang's comment is true, disabling dropzone takes care of it. always using the latest version of course.

#424Oct 16, 2017by aryeharmon3 answers
0 reactions

Custom competent <template> missing inner html when creating a block with it

you gave me a fix in #244 but this is no longer working

artf

Hey @aryeharmon I just used this in the demo (try it by yourself in console) and importing <div><template><div>SOME TEXT</div></template></div> works just as expected.

aryeharmon

OK so i see what the issue is, apparently when i add: to html the existing elements on page do not take effect. only newly added dom elements. for example i already have a template tag on page when load, i will not get the properties. but...

aryeharmon

btw, the editor.render(); is after the register of domc.addType

Browse all topics