GrapesJS Issues

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

743 issues found

🔍 bug
#463Oct 29, 2017by roytang3 answers
0 reactions

Is the video component on the webpage demo working?

I wanted to study how to use the video component but the one on the demo website (http://grapesjs.com/demo.html) doesn't seem to be working? Dropping a video component into the canvas shows a still photo with some lights. If I click the edit icon, the photo editor opens with no content and no toolbar and a bunch of JS...

artf

It's not a photo but actually, a video (I just turned off autoplay), if you toggle controls and turn on the preview you should be able to see it play. About the edit button, I think it's a bug, should not be there, I'll check it later

roytang

How to toggle controls and turn on the preview?

artf

#373Oct 4, 2017by sonnylloyd3 answers
0 reactions

Color input does not update the element on page

when using the color picker everything works fine. however if you add a hex value to the input and press enter the color preview updates but the color is not applied to the element on the page

sonnylloyd

@art i think the issue here is that inside function setValue(val, opts = {}) of InputColor.js does not call the change event inside spectrum. looks like it needs to be separated out.

sonnylloyd

@artf i have been looking at this quite a bit and managed to get it working but the way i have done it seems a little hacky. The issue i found was inside src\domain_abstract\ui\InputColor.js inside setValue(val, opts = {}). the value opts....

artf

@sonnylloyd actually the real issue is here https://github.com/artf/grapesjs/blob/dev/src/domain_abstract/ui/Input.js#L24-L27 should be instead: I've already made this change in the latest RC, you can see it working here http://grapesjs.co...

#361Oct 1, 2017by aryeharmon3 answers
0 reactions

Getproperty style manager not working

https://github.com/artf/grapesjs/wiki/API-Style-Manager#getproperty

artf

Confirmed, thanks for the catch

mklemersson

I was looking at the default example page and saw that sectors don't have the id attribute that is used as a parameter of the function getProperty After I added the attribute, I can get the property as the image below shows

artf

oops 😅 thanks @MichaelKlemersson will update the demo soon then

Browse all topics