GrapesJS Issues

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

1180 issues found

#2276September 18, 2019by iamriel2 answers
0 reactions

[BUG] `change:style` listener is not triggered

Are you using the latest release (older versions are NOT supported)? version 0.15.8What is the expected behavior? change:style listener should be triggered when changing/updating styleWhat happens instead? nothing happensIf you're able to reproduce the bug indicate all the necessary stepsDrag the text block to the can...

iamriel

Nevermind, I just disabled avoidInlineStyle: 0 :)

VanShane

Hi, is there any way to listen to component style updates (in model or view) without using avoidInlineStyle: 0.

#2275September 18, 2019by adriangroch3 answers
0 reactions

[BUG] Default styling not being applied when default panels are instantiated

It seems that when the default panels is altered in the config, the basic styles are stripped from the panels. For example the font and scrollbars.Are you using the latest release (older versions are NOT supported)? YesAre you facing the bug with your local copy of GrapesJS or with the current demo? BothWhat is the ex...

artf

Sorry @adriangroch but I don't really understand what do you expect. I see the panel and its styles correctly applied. Are you talking about the scroll outside the editor?? That has nothing to do with the editor and its styles...

adriangroch

@artf, when you have enough components on the canvas and then select the layer manager, the styles are not applied as they are in the default example - the font is different and the scrollbar has changed. It's all still within the editor

artf

That scrollbar is not from the editor but from the body and about the font, being a custom UI (when you use appendTo) the font is taken from the parent

#2272September 17, 2019by adriangroch1 answer
0 reactions

[BUG] `textable` component disappears with custom RTE

Are you using the latest release (older versions are NOT supported)? YesAre you facing the bug with your local copy of GrapesJS or with the current demo? Current demo & local, also using the CKEditor pluginWhat is the expected behavior? When a textable component, e.g. #481 Merge field is dragged into a text area (i.e....

artf

Hi @adriangroch thanks for the report but unfortunately it's not a bug, it's just not possible, currently, having components (textable in this case) inside a custom RTE. Each RTE has its own implementation and we can't ensure correct usage...

#2259September 9, 2019by wire-rabbit2 answers
0 reactions

[Bug] Deleted Element Styles Are Still Saved

Expected Behavior: After deleting an element from the canvas that has received custom styles using the style manager, the deleted element's styles should no longer be saved in the styles JSON. Actual Behavior: The styles JSON retains entries for deleted elements on save. Steps to Reproduce:Fiddle based on the starter...

artf

Try to use the clearStyles option

wire-rabbit

That resolves the issue. Thank you!

#2249September 6, 2019by senchdenNo answers
0 reactions

[Bug]: Custom styles are reset after specifying an id

Expected: After specifying an id, all styles added to a block will persist. Actual: After specifying an id, all styles added to a block reset. Steps to reproduce:Add a new block.Add custom styling via style manager.Set and id via settings.Observe that all styles reset. Reproducible in a web page demo. Screencast:

#2247September 6, 2019by senchdenNo answers
0 reactions

[Bug]: Editor not working in IE11

Expected: editor works normally. Actual: page is blank. IE11 does not open the editor and prints out this in the console: Reproducible both with a local copy (grapesjs version 0.15.3, IE11, Windows 10) and web page demo. This issue might be related: https://github.com/artf/grapesjs-preset-newsletter/issues/72

#2221August 27, 2019by nikhilmate3 answers
2 reactions

Could anyone give me a proper guideline for making cell components in blockmanager which add others components inside them (Like coumn1, column3/7 and vise versa)

WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...

smik3

Yeah, after 3-4 re-writes I've managed to get to the approach there, haha. Would it be possible for that snippet to be added to the docs? It's taken a few days of searching through issues to see that it is even possible to pass an array of...

artf

https://grapesjs.com/docs/modules/Blocks.html

smik3

I am also getting really confused about this. For example, how do you decide where to put the html markup, in the block content property or in the component view property? Also in the basic-blocks plugin it defines rows/cells as classes in...

#2215August 23, 2019by alimajed931 answer
0 reactions

[BUG] Resizing canvas on Safari

Hello, I am having the following problem when switching between Desktop view, tablet view and mobile view in GrapesJs: When the template contains an image, strips with the same "pattern" of the image appear when switching to a smaller view as shown below: Those lines will disappear when I inspect element, trying to ge...

artf

Seems the same issue of https://github.com/artf/grapesjs/issues/1240