GrapesJS Issues

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

3,464 issues found

#3362Mar 23, 2021by qweiop8013 answers
0 reactions

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

GJSBlock

Thanks for reporting this, @qweiop801. Great question about double click problem. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the...

#3359Mar 23, 2021by qweiop8012 answers
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

GJSBlock

Thanks for reporting this, @qweiop801. The issue with double click copy bug. appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications overlap, creating...

#3358Mar 22, 2021by qweiop8012 answers
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:

GJSBlock

Thanks for reporting this, @qweiop801. Thanks for sharing your report about Set Model property.. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/JSFiddle) Your GrapesJS version...

#3356Mar 22, 2021by mitcht2 answers
0 reactions

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...

GJSBlock

Thanks for reporting this, @mitcht. The issue with FEAT: Unminified version in the latest release appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modificatio...

#3355Mar 22, 2021by Franci5co5aoco3 answers
0 reactions

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...

GJSBlock

Thanks for reporting this, @Franci5co5aoco. Great question about FEAT: Add a title attribute to the Layers panel elements. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation...

#3354Mar 22, 2021by ThetripGr2 answers
1 reactions

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...

GJSBlock

Thanks for reporting this, @ThetripGr. The issue with having two instances of grape present makes the asset manager of the first "stop" working appears to be a race condition or state management timing problem. This typically happens when...

#3353Mar 19, 2021by jcsofts2 answers
0 reactions

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.

GJSBlock

Thanks for reporting this, @jcsofts. Great question about The colorpicker scroll off the input box. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific m...

#3352Mar 19, 2021by harsh2014 answers
1 reactions

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.

#3350Mar 18, 2021by devtechk3 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...

GJSBlock

Thanks for reporting this, @devtechk. The issue with Uncaught TypeError: can't access property "el", n is undefined appears to be a race condition or state management timing problem. This typically happens when component lifecycle events a...

#3349Mar 18, 2021by maivanchuong953 answers
0 reactions

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?

GJSBlock

Thanks for reporting this, @maivanchuong95. Great question about FEAT: Import template from file zip this export. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the GrapesJS documentation for yo...

Browse all topics