GrapesJS Issues

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

3464 issues found

#3362March 23, 2021by qweiop8012 answers
0 reactions

BUG: double click problem

grapesjs - 0.16.105 When I click in one element(form - this element have disable cloning), next second element(column). First element clone in to second element and lost all styles. Can You help me? https://user-images.githubusercontent.com/44744754/112153667-cb534080-8be3-11eb-90ef-dbccc866fde2.mp4

artf

Hi, at first, you need to update your grapesjs version, it's too much old, and I can't help you without a reproducible demo of the issue

qweiop801

I update grapesjs to 0.16.45 and problem still exist

#3359March 23, 2021by qweiop8011 answer
0 reactions

double click copy bug.

When I click in one element, next second element first element clone to second element and lost all styles. Can You help me?

artf

Hi @qweiop801 please follow the issue template by following all the steps

#3358March 22, 2021by qweiop8011 answer
0 reactions

Set Model property.

How can I disable model drag button on this event:

artf

If for model drag button you mean the button on the toolbar, you should update the toolbar property, eg:

#3356March 22, 2021by mitcht1 answer
0 reactions

FEAT: Unminified version in the latest release

What are you trying to add to GrapesJS? Un-minified versions for each release Describe your feature request detailed I am working with some more complex methods utilizing the Component Manager. The last release that had an un-minified 'debug' version was 0.15.xx. Can you please release the unminified as well as the mi...

artf

Hi @mitcht the current bundle includes the minified file but also its source map, so you can easily view the original code from dev tools (more about it here), therefore there is no reason to include also the unminified version if you need...

#3355March 22, 2021by Franci5co5aoco2 answers
0 reactions

FEAT: Add a title attribute to the Layers panel elements

Hi @artf , When I have several elements nested in the Layers panel then some elements names are truncated because the Layer panel's width is not big enough, I know that custom resizable panel can be a solution but adding a title attribute would be enough for the majority of the use cases. A tooltip (title) would be he...

artf

Yeah, why not... would you like to create a PR? :)

Franci5co5aoco

@artf of course, thanks! I'm going to create the PR...

#3354March 22, 2021by ThetripGr1 answer
1 reactions

BUG: having two instances of grape present makes the asset manager of the first "stop" working

Version: 0.16.44 What is the expected behavior? I expect to have 2 separate instances of grape in one single page and being able to utilize the asset manager properly Describe the bug detailed I have initialized 2 instances of grape in a page with the config below what happens is that in the second instance of the edi...

ThetripGr

OK so after a little bit more investigating, the real issue was due to how I was initiating the editors so my bad. I wasn't making sure the instances were truly separate and I was overwritting the first instance even though it appeared as...

#3353March 19, 2021by jcsofts1 answer
0 reactions

BUG: The colorpicker scroll off the input box

thanks for your work, this is a good project, this may be is not a bug I trying to make the colorpicker in style manager scroll with the input box. for example: the (color,background) input boxopen the colorpickerscroll the style manager the input box moved, but the colorpicker stay at the old position I try this on t...

artf

The color picker is placed absolutely. Unless you'll find a way to update it on the scroll of the style manager, I don't see alternatives.

#3352March 19, 2021by harsh2013 answers
1 reactions

BUG: Default Content is getting Inserted while using setComponents if Tag Body is empty

Version: Latest You can get the version by typing grapesjs.version into the console Are you able to reproduce the bug from the demo?[X] Yes[ ] No What is the expected behavior? Component with empty body should not be populated with default content. What is the current behavior? When we create an empty node and pass it...

artf

You have defined the default content in the component definition, so, an empty one will use that as default. Just move that content from component definition to the paragraph block.

harsh201

@artf Any help here?

harsh201

Thanks @artf! Completely forgot about adding at block level.

#3350March 18, 2021by devtechk2 answers
4 reactions

Uncaught TypeError: can't access property "el", n is undefined

Hello, I'm using grapesjs 0.16.44 and only in firefox I'm faceing this issue. Using grapesjs block basic preset. Anyone can help me? Thank you a lot!

artf

try to place your code inside

devtechk

Problem "solved" removing : looking for a better solution to make active the block panel af first I've also noticed other conflict like with my custom modals and modal from export plugin (clicking export plugin was fire my custom modal on...

#3349March 18, 2021by maivanchuong952 answers
0 reactions

FEAT: Import template from file zip this export

Hi all I want to import the zip file from the file previously exported by grapesjs. Can you help me ?

artf

This is has nothing to do with the core library. You can make your own plugin if you need it

Sunsiha

hi @maivanchuong95 have you figured any solution?