GrapesJS Issues

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

1,399 issues found

πŸ” outdated
#1218Jun 19, 2018by FrciSmrci3 answers
0 reactions

Asset Manager - Upload Image

Hey @artf , I have a question around Asset Manager. When uploading an image via computer or url the preview shows up at the asset collection in the modal, but after double clicking - selecting it the element in the canvas doesn't have a src. When opening the Asset Manager again after the upload and selecting the image...

artf

Can't reproduce it on the demo, are you working with the latest version? Can you provide a live example?

FrciSmrci

Hey @artf , the problem occurs only on newly uploaded pictures - which isn't possible to do in the demo. You can only select the ones that are already in the storage. After upgrading to the latest version from 0.14.15 the asset:add event i...

artf

the problem occurs only on newly uploaded pictures I've tried to add it via url as you've suggested and it works as expected After upgrading to the latest version from 0.14.15 the asset:add event isn't firing anymore. Same, not able to rep...

#1216Jun 19, 2018by ionic6661 answer
0 reactions

Get script from the block

excuse me.i want to modify configuration items for charts.so i should get the chart in script from the block.But I haven't found the right implementation yet

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.

#1215Jun 18, 2018by ogousseau3 answers
1 reactions

Adding Google Font doesn't work

Bonjour, I try to add Google Font : When i click on Typography, script stop in Grapes.jp show: function show() { this.$el.addClass(this.pfx + 'open'); this.getPropertiesEl().style.display = ''; <=== style is null ? this.$caret.removeClass(this.caretR).addClass(this.caretD); }, Where it's wrong ? Merci.

artf

I think the real issue here is a need to have methods like which then update the view accordingly to the change. So I'll add them for the next release. For now, declare your Style Manager in init configuration object or try with something...

ogousseau

Super merci. !!!!!!

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.

#1214Jun 18, 2018by kuldeepcis3 answers
1 reactions

Query for issue related to 873

Previous issue Please confirm, above reported bug has been resolved. Or still having same issue. Please confirm . Same issue with slider also. Thanks in advance

v8jupiter

Please confirm, above reported bug has been resolved. - 100% resolved.

kuldeepcis

But still I'm facing same issue on latest version 14.20 Can you @v8jupiter please share code with us. Response format attached above. Please check and let me know if I'm doing something wrong

artf

@kuldeepcis provide a live demo

#1213Jun 18, 2018by laziest-coder1 answer
0 reactions

I need help

I want to use grapes.js to create a website constructor for clients and when they show the design it should show the price of constructed website according to how many elements are used. What I am struggling in is that I can not create variable called "Price" and when from Blockmanager something is dragged and dropped...

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.

#1212Jun 18, 2018by sfrancy3 answers
0 reactions

Ajax Call, Button in a Panel

I'm tryng to do an ajax call for a button inside the panel this is my code: of course i hosted it on a web, but i dont recive response(error or succes) and i tryed an hello world inside the php, but i think the request never started.

artf

Please read about Panels API addButton() and Command API add()I think the request never started You shouldn't think, you have to use devtools to debug

sfrancy

my bad, i used FDE with the console, i just forgot to include jquery.

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.

#1211Jun 17, 2018by ivanezeigbo2 answers
2 reactions

Adding a working Import Panel Button without the presets

I want to add the Import button at the panel for importing templates, but I don't want to use the presets. I have already added the following code: ... { id: 'import', className: 'fa fa-download', attributes: {title: 'Import Your Template'}, command: function(editor, sender){ ???? } } ... I don't know what should be i...

ivanezeigbo

Oh, I just figured it out. So, for those who might be curious about how to solve this, this is how I went about it (by the way, this is thanks to the answer in Issue #324 :

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.

#1210Jun 15, 2018by ogousseau3 answers
1 reactions

Replace Devices icon ASP.net / Javascript

Bonjour, I want replace icon for selected devices like in preset-webpage but i don't understand why this code doesn't work and nothing appear on panel : Can you help me ? Merci et bonne journΓ©e.

sw45859

quick and ugly, less than 24 hours working with this right now, i didn't want to totally redo the panels so i did this:

artf

@ogousseau avoid panelDevices.render() and check your panel in the inspector, probably it's just behind some other one

ogousseau

Super merci !!!!!

#1209Jun 15, 2018by ionic6662 answers
0 reactions

About Built-in trait types for select

where can i find the code about Built-in trait types for select? And how do I listen for select changes?thanks very much

artf

https://github.com/artf/grapesjs/wiki/Traits

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.

#1208Jun 15, 2018by ssabrewolf2 answers
0 reactions

Create minimalist Panel left sidebar III

hello @artf , thanks to you for the comment on #1188, i see in the code https://codepen.io/artf/full/MQpZPj/ uses the appendTo property to render a filtered collection of component in a div with id # block1 , is posible to render 2 different collections, 1 in block1 and another in block2, since the BlockManager only p...

artf

@ssabrewolf as you get it right, BlockManager points only to one single DOM element, so you can't create 2 different collections, but you can definitely move elements around with plain javascript. You should do it once the content is rende...

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