GrapesJS Issues

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

1180 issues found

#2561February 10, 2020by Rasazna2 answers
1 reactions

How to add extra options to the block element next to delete option ?

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

pouyamiralayi

@Rasazna if you want to do this only for a specific component, pencil button for image is a good example.if you want to do this for all the components, check initToolbar function. Cheers!

artf

@Rasazna FOLLOW the issue template

#2560February 10, 2020by Rasazna3 answers
2 reactions

can we design a asset manager for our component to give option specififc to it?

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

pouyamiralayi

@Rasazna please refer to #2542 Cheers!

pouyamiralayi

@Rasazna if you want to create a custom version of asset manager (probably your use case), you must define your own particular modal which is explained in #2491 if you want to customize the current asset manager, #2504 & #2316 would be a g...

Rasazna

My component is Aggrid it is not image component . I have created a aggrid block element so when the grid is dragged and dropped , I want to provide a asset manager kind of option to set the grid options and i want the options to bind only...

#2559February 10, 2020by majidh12 answers
1 reactions

[Bug] bug in toggle className status

If try change checkbox from className in styleManager then appears error error message: Cannot read property 'parentNode' of null <img src="https://imgur.com/download/W78R17J">

adriangroch

@artf any suggestions on where I should start looking to help fix?

artf

Thanks @adriangroch This is from the selector view, event binded to this function

#2548February 4, 2020by christiancannata3 answers
4 reactions

[Bug] Unable to scroll all canvas with zoom enabled

When zoom is enabled is not possible to scroll over all canvas and move components. I think that is transform: scale(1.5) translate(0px); property on canvas the origin of the problem. If I enable an overflow: scroll property outside the canvas, I can move only for a partial canvas, but not on all canvas size. <img wid...

artf

Hi @christiancannata when you enable the zoom you should be able to pan the canvas by pressing SPACE and left mouse click

no-response[bot]

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...

mmotov

Hi @artf! That was really helpful, but how can I set canvas's original position when I zoomed back to normal state?

#2539January 31, 2020by ayana303 answers
1 reactions

how to display and upload images from an api ?

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

pouyamiralayi

@ayana30 you can append them to the global category, check out more on this here Cheers!

pouyamiralayi

@ayana30 please refer to uploading assets Cheers!

ayana30

am trying to list images here by using unsplash api.

#2538January 30, 2020by senchden1 answer
0 reactions

[Bug] Adding background makes an extraneous request

Steps to reproduce:Select any element.Try to add a background via Style Manager using 'Decorations' -> 'Background'.Click a plus sign. Expected behaviour: No extraneous requests are made. Actual behaviour: An extraneous GET request is made to ../none (i.e. to https://grapesjs.com/none if on https://grapesjs.com/demo.h...

artf

Should be fixed in the next release

#2532January 25, 2020by nawaz1231 answer
0 reactions

Open block Components in UI are not visible in Downloaded (localhost) Grapejs

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

nawaz123

Open block Components in UI are not visible in Downloaded (localhost) Grapejs as shown in screenshot while Open block Components in UI are visible in demo page (https://grapesjs.com/demo.html) Kingly guide to resolve this issue?

#2529January 24, 2020by vellmur2 answers
1 reactions

[Bug] Can't select/remove/edit gjs-row component if gjs-cell removed first.

Can't choose/select/remove gjs-row after removing gjs-cell separately. Row that is left without cell exists on wrapper but can't be highlighted and selected. Example: <img src="https://raw.githubusercontent.com/VelMrnk/Images/master/ezgif.com-video-to-gif-3.gif"></img>

vellmur

Hi @VelMrnk this is not a bug, as the row is empty and doesn't have its own height, you can't see it (indeed is still selectable from Layers). If you want to change this behavior it's enough to update the component CSS (eg. using the min-h...

artf

Hi @VelMrnk this is not a bug, as the row is empty and doesn't have its own height, you can't see it (indeed is still selectable from Layers). If you want to change this behavior it's enough to update the component CSS (eg. using the min-h...

#2523January 22, 2020by MatejGlasnak1 answer
0 reactions

[BUGS] Class selector set to active: false not working properly

Hi i set: editor.on('selector:add', selector => selector.set({ active: false, })); to NOT select class on element after click and editing css, it is working but after page refresh it is selecting element's classes again. Is there any way to fix it?

MatejGlasnak

I found solution. Selector:add is called only when new component is added, but selector settings for that component wont save. After page reload it wont be called to previously saved components so they will have default value (true). To fi...

#2508January 14, 2020by alexiswbr3 answers
1 reactions

[Bug] Draggable property added in the final HTML text components

This bug is also on the online demo : https://grapesjs.com/demo.htmlAdd a Text Block to the page, start typing and hiting enter to make several break lines.Unselect the block.Double click on the block to start editing again. Now if you click on the "view code" button, you will see that the HTML nodes inside the Text B...

artf

Ok I'll try to check this out

pouyamiralayi

@alexiswbr using the below snippet, the `div's will become br`'s as the expected behaviour:

obrazkow

I use such way to prevent transformation to component and keep original html. Just override component that you need, for example text or create new. Maybe it's not good solution, but it works :)