GrapesJS Issues

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

1180 issues found

#3685August 9, 2021by throne1986No answers
0 reactions

BUG: showStylesOnChange is not working

Guys, I am new to grapes, I would like on component change show the Style Manager, here is my component and how I add it, also I would like to video type to asset manager Unfortunately, neither Style Manager nor video type is added, can someone tell me the right way to add these things to my configuration? I am using...

#3681August 7, 2021by Joshmamroud3 answers
0 reactions

BUG: Textable not working with extended text component

Version: 0.17.22 Are you able to reproduce the bug from the demo?[X] Yes[ ] No What is the expected behavior? Should be able to drop a textable element into a custom component that extends the text component What is the current behavior? Can't drop a textable component into a custom component that extends a text compo...

artf

Hey @Joshmamroud there is actually a general issue about textable components here #2771

Joshmamroud

Thanks, @artf. I think my problem here is more so the custom component that extends the Text component. Textable works as expected with the original Text component but when I try to create my own, custom text component that's where I run i...

artf

From your demo, I don't see issues with the extended text component, but only those related to textable

#3679August 6, 2021by imouou1 answer
0 reactions

BUG: Device width is invalid by default

Thanks for #3673 I have a new bug feedback. Version:. 0.17.22 Are you able to reproduce the bug from the demo?[ ] Yes[ ] No What is the expected behavior? I want the default to be the width of the mobile device, so I configured min-width priority, but only the mobile width is displayed by default on the select box, an...

artf

Yeah, you're right, actually, there is no option to select the default device... For now, as a workaround, do it manually after init: And as you're using the mobile-first approach, you would need to fix your Desktop device: In the next rel...

#3674August 5, 2021by sriya-srinivasan3 answers
1 reactions

BUG: Invisible webcomponents

Version: 0.17.19 What is the current behavior? That the added webcomponent is visible: When adding web components inside grapesjs container, the component is empty/blank, if the component has elements in the shadow DOM. (If not using shadow dom to create components there is no issue.) It is visible in layer manager, b...

artf

Posted a workaround here https://github.com/artf/grapesjs/issues/3693

artf

Hey @sriya-srinivasan can you create a reproducible demo, please?

artf

@sriya-srinivasan any update please?

#3673August 5, 2021by imouou1 answer
0 reactions

BUG: option resizable:true will change all the same components in canvas.

WARNING READ and FOLLOW next 3 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdDo a quick SEARCH first, to see if someone else didn't open the same issueAll relative statements/questions have to be filled/answered, otherwise, th...

artf

Use component first styling

#3668August 3, 2021by anatoli-dp3 answers
0 reactions

BUG: Cant Reset Canvas after Moving/scaling it

WARNING READ and FOLLOW next 3 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdDo a quick SEARCH first, to see if someone else didn't open the same issueAll relative statements/questions have to be filled/answered, otherwise, th...

artf

I'm not sure if I understand your issue, how do you exactly move/scale the canvas? this is unrelated but is there a function that can be called to zoom the content not the canvas? so like if i want to scale it like if it were on some reall...

anatoli-dp

i scale it using the editor.Canvas.setZoom and move it using spacebar. atm i removed what i did but it was something like getting the canvas element and just positioning it with a style update. however this change isnt permanent and as soo...

artf

If you're talking about the moving coordinates, we don't have yet a direct API for that, but you can actually get/update them in this way:

#3663August 3, 2021by MrNikolovski3 answers
0 reactions

BUG: Default styling properties are not being re-selected when switiching devices

Hi, Default styling properties are not being selected when switching devices. Steps to reproduce: Open [http://grapesjs.com/demo.html] Select any block and observe the default values. For example, under General, Position is set to "static". Switch to Mobile. Change the Position to "relative". Switch back to Desktop, o...

MrNikolovski

Any update on this @artf?

MrNikolovski

Hi @artf. Can I get an update on this issue? Do you consider this as a small issue or you didn't have time to work on it? Thank you.

artf

I'm working on the StyleManager improvement at this moment, and probably I will be able to check this soon.

#3661August 1, 2021by aliibrahim123No answers
0 reactions

BUG: style manager not working(styles has no effect)

hi, i am working on a plugin that will add all the properties of css3 into grapesjs. but all time i use the style manager the style do not apper, version: 1.17.19 css parser: grapesjs-parser-postcssstyle manager sectors [{ name: 'General', buildProps: ['float', 'display', 'position', 'top', 'right', 'left', 'bottom'],...

#3657July 30, 2021by san-1231 answer
0 reactions

BUG: How to update src of video tag at dynamically?

Hi @artf , I have drag and drop multiple video tag same page and each one generated random number to ID attributes. Two things doubt, Frist one is that I tried updated sample video path to src video tag based on Id attribute but not working for me. How to update src to video tag based Id attribute? Second one is that...

artf

@san-123 please follow the issue template and create a reproducible demo because it's hard to understand what is wrong here