GrapesJS Issues

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

3464 issues found

#1990April 29, 2019by Ramkumar-Murugesan2 answers
0 reactions

[QUESTIONS] need to call method before remove the html component

Hi, I need to call the method before remove the HTML component. how can I do that calling method like editor.on('block:drag:stop', function (model) {})

artf

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.

#1989April 29, 2019by edward18932 answers
0 reactions

[QUESTIONS] Canvas in Modal

is it possible to make modal that can be a canvas? I want to make a button that displays modal, then I can add the modal component from the block manager, Thank's

artf

Probably you're looking for components with js

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.

#1988April 29, 2019by MisterFK3 answers
1 reactions

bug on resize image

Hi ! I have some issues when i want resize an image. When i put an image and when i click one resizer handler, the image don't keep his height but expand it to 100% of parent container... I didn't found an option into the "resizable" option to disable that : editor.DomComponents.addType('image', { model: { defaults: {...

afdallah

It would be easier for everybody here to help you if you can provide a live demo. I experienced the same issue, but in my case, it was because I set the image height to auto. Here is the example of my old issue:

MisterFK

Thanks but it's not the same issue. I take a video to show the problem :

artf

Thanks for the report @MisterFK can you provide a live demo of the issue, please?

#1987April 27, 2019by fmr4113 answers
1 reactions

[QUESTIONS] Create toolbar in bottom

can I make a new toolbar that is located at the bottom (as shown by the cursor) when selected component? Thank's

afdallah

If you make that cell as a custom component, you can manipulate its View PS: this new syntax requires version 0.14.50+

fmr411

not only in the cell, but for all components

afdallah

Of course, you can apply the same technique to any component.

#1986April 27, 2019by benvmatheson2 answers
0 reactions

Where is configuration stored locally?

When I reload the badge builder, the previous layout I was working on loads. This still happens when clearing cache/cookies or opening in incognito mode. How is this being stored?

benvmatheson

It appears this is stored in localStorage. What was the intent behind this? Is it advised to just clear localStorage to reset data, or is there a grapes specific method you would recommend?

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.

#1985April 26, 2019by DylanSp3 answers
1 reactions

[BUG] Autosave with remote storage doesn't send network requests

OS: Windows 10 Browser: Chrome 73 GrapesJS version: 0.14.57 I have remote storage configured using this call to grapesjs.init(): While I see the request to /load fire in the Network tab of Chrome's dev tools, I don't see any requests to /store, no matter how many changes I make in the editor. Is there a configuration...

DylanSp

Updating to the next release fixed this, I now see requests to to the /store endpoint. Thanks for the prompt fix!

DylanSp

I should also note that manually saving with editor.store() does send a request that I can see in the Network tab.

artf

Thanks for the report @DylanSp actually there is an issue with the listener. If the first load call fails (and I guess your /load endpoint is fake just like mine) it never starts tracking the editor changes so autosave doesn't work. It wil...

#1984April 26, 2019by AkibDeraiya1232 answers
0 reactions

Getting issue while click on edit option of image

Hey @artf , I see version release 0.14.57. In this version, you support to the image editor using this lib grapesjs-tui-image-editor.min.js?0.1.2. Previously, I used cropper.js for image editing. But it was not properly working fine. I see demo for image editing using grapesjs-tui-image-editor.min.js?0.1.2 it's workin...

artf

Please check the README file https://github.com/artf/grapesjs-tui-image-editor I mention this issue in the icons option and the example shows you exactly what to do

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.

#1983April 26, 2019by rodenp2 answers
0 reactions

Support extending grapesjs

Hi Arthur, I am not on twitter and am wondering what the best way is of contacting you to discuss a piece of work i have. Since you know grapesjs so well, I was wondering whether you would be interested in helping me develop something for grapesjs and what the costs would be. My idea would not only help me, but would...

artf

You can try to post your job offer here https://discordapp.com/channels/365099684114464769/404263782559514624

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.

#1982April 26, 2019by fmr4113 answers
1 reactions

[QUESTIONS] addcomponent after the selected component

how do I make it possible to add new components after the component I selected, at this time I use editor.DomComponents.addComponent (block); , but new components are added at the end, not after the selected component, Thank you

artf

You can also use this to get the index of the component index = editor.getSelected().index()

fmr411

clear, I use index

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.

#1981April 26, 2019by trafalmejo3 answers
0 reactions

[QUESTION] Modals open once

Hi all, I am using the plugins 'gjs-preset-webpage', and 'grapesjs-custom-code'. I have noticed that the import modal and the custom-code modal are opening just once. I have tried last versions for Mozilla and Chrome but this is not solving the issue. Once they open and close once, I am not able to open them again. I...

artf

Thanks for the report, this is actually due to the breaking change in https://github.com/artf/grapesjs/releases/tag/v0.14.55 I didn't manage well the state of those commands, I'll try to release soon the patch for both

artf

Fixed released https://github.com/artf/grapesjs-preset-webpage/releases/tag/v0.1.11 https://github.com/artf/grapesjs-custom-code/releases/tag/v0.1.2

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.