GrapesJS Issues

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

1180 issues found

#1878March 11, 2019by MisterFK1 answer
0 reactions

Issue in wiki from the last release

Hi, I have the same bug than the wiki. The panel layer, style, traits, etc... have some issue. How can i resolve this plz?

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.

#1867March 6, 2019by arthuralmeidap2 answers
0 reactions

[BUG] Custom compoent and JS

Hi @artf , I'm trying to create a custom component and attach a JS to it. To give you a better example, think this component as a Slideshow component. For this component, I have some custom traits to allow the user to change some pre-defined configurations. The problem is happening when I attach the Js through the scr...

artf

The problem is happening when I attach the Js through the script key while I'm adding the block. The isComponent method is not being called for my new custom component. Hi Arthur, can you provide some code example of your case because I ca...

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.

#1865March 6, 2019by Gianglo2 answers
0 reactions

[Bug]: Grapes change page position

Hello, I found the following problem using grapes inside an html page: when you click on some elements of the editor, such as the arrow to move an element in the label manager, all the page shift up. The problem is also found in your JSFiddle Starter template https://jsfiddle.net/szLp8h4n.

artf

Ok, we use the scrollIntoView API to center elements in the canvas (when you select the component in Layers) and layers (on component select in canvas) but seems like this bubbles up to the main window. By looking at https://stackoverflow....

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.

#1854March 4, 2019by NicoEngler3 answers
1 reactions

Asset manager empty on second open

Hi, I am trying to build a plugin which sets up the asset manager as a SVG repository. If the user selects a SVG, the asset manager opens. Next, the user can replace the current SVG with the one selected. Most of the code I am using is found on: https://grapesjs.com/docs/modules/Assets.html#customization Demo: https:/...

noogen

Line 28, you're filtering it twice since you're already doing it on line 23? am.render(am.getAll().filter(assets)); Works when I'm doing it like so: am.render(assets);

NicoEngler

Awesome, thanks for the catch! @noogen

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.

#1845March 1, 2019by kickbk2 answers
0 reactions

Deleting a form input

I think there are some bugs with the form inputs It is not possible to delete a form input. When you turn off "Show borders", you can then select the input and delete, but trying that again right after, again doesn't let you delete. It also makes the inputs un-selectable. See below:

artf

Thanks for the report @kickbk this is already fixed by https://github.com/artf/grapesjs/pull/1800 and will be available in the next release

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.

#1834February 26, 2019by diktar2 answers
0 reactions

[BUG]: background image for wrapper doesn't work if custom styling properties are selected

When editor is initialized with custom styling props defined for wrapper, background image is not set to wrapper. It is set correctly if editor is initialized with default configuration for wrapper. Steps to reproduce:open https://jsfiddle.net/gu289h0q/select root element in editorin Style Manager open 'Decorations' s...

artf

@diktar you have to pass all the background properties to styleable probably it's not the cleanest way to customize stuff but for now I wouldn't spend time on this

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.

#1830February 25, 2019by skateborden2 answers
0 reactions

[Bug]: StyleManager properties without "property" defined cause an error on component selection

When using a StyleManager property where "property" is not defined, and defaults to '', I'm seeing an error on component selection: "TypeError: values[0] is undefined" at PropertyView.js targetUpdated -> getComputedValue-> camelCase. I'm seeing this in my local project with v0.14.52. jsfiddle: https://jsfiddle.net/okc...

artf

In my case this is a sub-property of a stack, where it wouldn't make sense for a property to be defined. Yeah, it makes sense, but unfortunately, the property is kind of mandatory for the Style Manager, probably for now I'll just check the...

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.

#1829February 25, 2019by skateborden1 answer
0 reactions

[Bug]: If devices in DeviceManager all have a width specificed an editor breaking error occurs

If all devices specified for the DeviceManager have a width set, an editor breaking error occurs: "TypeError: contRules is null". I'm seeing this in my local project with v0.14.52. jsfiddle: https://jsfiddle.net/5ycmoftj/1/ I think what is happening is that CssRulesView.js render() is creating div fragments as contain...

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.

#1815February 19, 2019by ateebahmed3 answers
0 reactions

[Bug]: component:mount is fired multiple times

I had been using editor events and I noticed that component:mount event fires multiple times when a component is dragged from blocks to canvas, you can confirm it in your JSFiddle Starter.

artf

@ateebahmed please don't open issues like this. Follow the template

ateebahmed

okay will reopen it

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.