GrapesJS Issues

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

1,399 issues found

🔍 outdated
#1196Jun 13, 2018by WkRPcoN2 answers
1 reactions

AssetManager not automatically opening in v0.14.20

Hi, I recently updated grapesjs from v0.14.17 to 0.14.20 and found the Asset Manager no longer automatically opens when dragging an image from the Blocks Basic plugin or when dragging an custom block to the canvas. I have ensured that activeOnRender is set to 1 on a custom block, and it appears the Image block in the...

artf

Found the bug, will be fixed for the next release Thanks for the catch

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.

#1195Jun 12, 2018by kickbk2 answers
0 reactions

Load basic block component fromElement

I probably missed it somewhere in the docs but could not find it. I'd like to a "form" block inside a "column" block on page load fromElement and also when clearing the canvas using editor.setComponent(). With mjml I would do editor.setComponents('<mjml><mj-body><mj-container>... but what's the equivalent with the web...

artf

The recognition of the component depends on this https://github.com/artf/grapesjs/wiki/Components#component-recognition So the "form", for example, is recognized just be the tagName so you don't need to do anything else, but the "column" i...

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.

#1194Jun 11, 2018by MobileAppVault2 answers
0 reactions

Load existing html web template into GrapesJS

Hi, I want to load an existing HTML Template into grapesjs and edit the page. Edit means:move sectionsadd/remove edit buttons, images etc. My template source will be https://html5up.net/ for example. How I can achieve this? Do I need to split my template into components? Many thanks for any answer help or suggestions....

artf

You can import it as it is but take care of this #1173

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.

#1193Jun 11, 2018by Siddharth-ss422792 answers
1 reactions

Not able to initialize colorpicker !

Hi @artf , I made separate styles for mobile view . i want to initialize color-picker "onclick()". i want exactly same color-picker that you are using in grapesjs editor. how can i initialize same color-picker?? thanks in advance @artf ??

artf

Internally, it's a modified version of https://github.com/bgrins/spectrum

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.

#1192Jun 11, 2018by nishant-t2 answers
1 reactions

Can I use GrapeJS into a Commercial WordPress Plugin?

Hello @artf I want to use GrapeJS into a Commercial WordPress which I am planning to develop. Do you allow that? Is attribution mandatory?

artf

Do you allow that? SureIs attribution mandatory? Nope

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.

#1191Jun 11, 2018by ionic6662 answers
0 reactions

Is there a way to find the number of components

I want to remove the component start from the second,so i need to take the traversal. domc.getComponents() is getting everything.i just want to get something specific such as all the buttons

artf

You can use find() method at any component, so to get all button components of the canvas, you would do 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.

#1190Jun 11, 2018by YairHadari2 answers
0 reactions

GrapesJS IndexedDB

Is there any working example or documentation implementing GrapesJS and IndexedDB except https://github.com/artf/grapesjs-indexeddb?

artf

I think the usage example is all you need to know about 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.

#1188Jun 10, 2018by ssabrewolf2 answers
0 reactions

Create minimalist Panel left sidebar II

Hello grapesjs Team Regarding the answer given on #1153 , im posting here cause im not sure if closed issues are still visible: @artf tx for the info, i checked the provided example here https://codepen.io/artf/full/MQpZPj/ but it hides all the other elements, i would like to keep complex advance elements while add an...

artf

@ssabrewolf check better the JS code, I just rerender blocks with another collection, if you don't do it, you see them all

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.

#1187Jun 9, 2018by endersaka3 answers
0 reactions

Why dashed lines do not show around components?

After long time I am trying again with GrapesJS. I am following the Getting Started page and I am stuck to this step https://github.com/artf/grapesjs/wiki#components In fact, I am trying to "highlight" the components with a dashed line, pressing the "eye" button, as explained in the tutorial, but it does not work. Gra...

ssabrewolf

To show the dashed lines you need to run in on editor load event editor.runCommand('sw-visibility');

endersaka

Thanks. Maybe I don't remember well but I am almost sure that it is not explained in the documentation tutorial.

artf

I think it's just because you need to indicate the height for your document

#1186Jun 8, 2018by Chilli-B2 answers
0 reactions

Number trait returns 'undefined'

Hello, it's either a bug or a question, i don't know yet. I defined a new component with - beside others - a number trait, as you can see on the code below. Unfortunately when adjusting the number over the arrows coming along with the trait automatically, it very often switches to 'undefined'. Am I missing something o...

artf

For such an issue I'd require a live demo because you might be using an old version. BTW I wasn't able to reproduce it, so it might also be fixed. In case it's not, please open another issue, with a link to a live demo and exact steps on h...

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