GrapesJS Issues

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

1,399 issues found

🔍 outdated
#1983Apr 26, 2019by rodenp2 answers
0 reactions

Support extending grapesjs

Hi Arthur, I am not on twitter and am wondering what the best way is of contacting you to discuss a piece of work i have. Since you know grapesjs so well, I was wondering whether you would be interested in helping me develop something for grapesjs and what the costs would be. My idea would not only help me, but would...

artf

You can try to post your job offer here https://discordapp.com/channels/365099684114464769/404263782559514624

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1982Apr 26, 2019by fmr4113 answers
1 reactions

Addcomponent after the selected component

how do I make it possible to add new components after the component I selected, at this time I use editor.DomComponents.addComponent (block); , but new components are added at the end, not after the selected component, Thank you

artf

You can also use this to get the index of the component index = editor.getSelected().index()

fmr411

clear, I use index

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1981Apr 26, 2019by trafalmejo3 answers
0 reactions

Modals open once

Hi all, I am using the plugins 'gjs-preset-webpage', and 'grapesjs-custom-code'. I have noticed that the import modal and the custom-code modal are opening just once. I have tried last versions for Mozilla and Chrome but this is not solving the issue. Once they open and close once, I am not able to open them again. I...

artf

Thanks for the report, this is actually due to the breaking change in https://github.com/artf/grapesjs/releases/tag/v0.14.55 I didn't manage well the state of those commands, I'll try to release soon the patch for both

artf

Fixed released https://github.com/artf/grapesjs-preset-webpage/releases/tag/v0.1.11 https://github.com/artf/grapesjs-custom-code/releases/tag/v0.1.2

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1980Apr 25, 2019by 3dmedium2 answers
0 reactions

RTE Editor not scrolling

The Toolbar of the RTE Editor is not visible vor Text field higher than the Browserwindow. While scrolling to the middle the RTE Toolbar is not visible. The Toolbar is on top or on the bottom. It should be sticking somewhere it keeps visible. Perhaps it is better to stick it to the top / top frame border. This is also...

artf

Yeah, we should replicate the behavior of the component toolbar

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1979Apr 25, 2019by 3dmedium3 answers
1 reactions

StyleManager Option for Editing single Elements allways

I'm using this great Library for Editing only Parts of Pages. I mainly design Compontens ready to use on the Page and when using the style Manager it allways should only take effect to only the selected Elements, not its classes. So at the Moment I allways have to deselect calsses and edit. Is it possible to add an Op...

artf

You can make use of selector:add event

3dmedium

Thanks for the Solution. This is rather easy.

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1978Apr 25, 2019by 3dmedium3 answers
0 reactions

Styles allways applied to classes

Hello, I have a Problem with styling individual Items. The following html Code: Loads fine. But when I Click the Component with "#icbp" then the class .ddm-flex-cols-element will get the style max-width. Setting this.el.style while rendering the Object is also Integrated to the CSS (Id only) the Docs tell changes to t...

artf

Can you please try to add this to your options avoidInlineStyle: true and let me know

3dmedium

Hi @artf , Yes I tried this, still no luck. I had the time to minimize this issue to a codesandbox: https://codesandbox.io/embed/jnplq7op55 Position of the protectedCss Content can be varied put it to style or in a file and load it by cvan...

artf

Ok, the problem happens here: https://github.com/artf/grapesjs/blob/e97afb429b4cada591e119025fcf34490cb0de8c/src/style_manager/index.js#L284-L285 if there is no CSS rule with the selector found on the component (in our case ddm-flex-cols-e...

#1977Apr 25, 2019by Ramkumar-Murugesan2 answers
0 reactions

Gjs-component is not updated with my traits values

Hi, have I modified my HTML using the toHTML function in traits. An HTML element is updated but the gjs-component is not updated still it shows the old code. my traits are but its shows older code like type="radio" is not stored in gjs-component after i loaded my saved screens before saving the screen after saved and...

artf

I barely understand you here... please provide a reproducible demo

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1975Apr 24, 2019by behnamazimi2 answers
1 reactions

Can I add a static prefix to all of exported classes?

Is there any way to add a custom prefix to all classes that the grapesjs exports? In some cases, there are conflicts with my project classes and grapes classes and to solve this, I wanna add a prefix to all classes.

artf

Check this one https://github.com/artf/grapesjs/issues/391#issuecomment-391510263

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1974Apr 24, 2019by VM81981 answer
0 reactions

After dragging the button block into the canvas how to call javascript function

I want to call a javascript function after click on button. I have created a new block of button and after dragging that button to the canvas when user click on that button a javascript function will be called. so, how to do that ?

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

#1973Apr 23, 2019by gst-xxz2 answers
0 reactions

Can you drag elements to specified subcontainers of custom components

Thank you for the great open source project.I'm working on a web drag-and-drop site projectI have a requirement to drag the react component into the specified location sub-container of another component.A component may have several sub-containers in different locationsPrevious I use https://github.com/SortableJS/Sorta...

artf

About integrating react components start by reading this #170 You have to create your own render logic

lock[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Browse all topics