GrapesJS Issues

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

75 issues found

πŸ” more-information-needed
#1286Jul 15, 2018by Barahten3 answers
0 reactions

Download default assets in manager on init

I'm trying to implement an example as in a demo, namely: when clicking on a background image installation, a window pops up offering you to download files or select from already downloaded ones. Uploading to the server I successfully implemented, the files are loaded, saved in the desired folder, after they appear in...

artf

Hi @Barahten please try to provide a live demo for your issues, just can't help you without seeing how you set up the editor.

Barahten

@artf, work on real server http://gjs.barahten.com/ Pen - https://codepen.io/barahten/pen/QBygdY The script works a little strangely. On the local server it works by uploading files to the folder but does not work on adding to the manager,...

artf

Regarding the first pointBut when updating the page and repeating all the above manipulations, the asset manager (the one on the left is empty). First of all, update the library, 0.12.17 is too much outdated actually BTW, just to give you...

#1282Jul 13, 2018by SalesFeed3 answers
0 reactions

AvoidInlineStyle true breaks saving properties

Case:Set avoidInlineStyle to trueDrag an image to the canvas, set it's width to 100% via Layout > WidthSave the canvasReload the canvas Expected: Image to be 100% width Actual result: The image is back to it's original size

artf

Just tried this https://jsfiddle.net/szLp8h4n/235/ and works as expected (uses the default local storage) Are you sure you're saving properly?

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

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.

#1255Jul 3, 2018by jdodsoncollins3 answers
2 reactions

How to set editor html contents from custom component?

I'm having trouble getting a custom block+component to display its template HTML inside the grapes editor. Within the exported HTML, the markup and CSS is generated as expected. Within the editor though, the block doesn't leave behind any sort of UI (though it is dragging in successfully based on the exported html/css...

artf

Well with this this.attributes.template = ... you do nothing to the view so it's just empty. You have to update the model so the view reacts to the change. Eg.

jdodsoncollins

This custom component is an adaptation of https://github.com/artf/grapesjs-blocks-flexbox

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

#1245Jun 28, 2018by Deepak8133 answers
0 reactions

How to set slider in margin-top property

Hi @artf, Can you please let me know how we can set the slider in margin-top property.I am setting with the below code but slider is moving to its direction: { name : 'Margin Top', property : 'margin-top', type : 'slider', defaults : 1, step : 0.1, min : 0, max : 1 }, Please help me out to resolve this. Thanks in adva...

artf

I don't understand your issue, so please be more specific or even better post a live demo. BTW I don't think you want 1 as a maximum value of the margin, it would make more sense something like this: step: 1, min: -100, max: 100

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

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.

#1230Jun 25, 2018by pintor-mato3 answers
0 reactions

Doctype in the canvas iframe

Hey @artf, I noticed the canvas iframe doesn't appear to have any doctype set on it, which causes it to be in quirks mode. Is this intentional? I'd like to set it to <!DOCTYPE html>, but doing so causes some positioning issues that you can see in this screenshot and demo. Would you be open to a pull request that would...

artf

which causes it to be in quirks mode Which browser?

tomichal

@artf One issue I noticed with the lack of doctype is with HEX color definitions. If a user defines a HEX color as, e.g.: "fff", rather than "#fff", this will work in the editor, but once the page is rendered inside a HTML with doctype spe...

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

#1221Jun 20, 2018by algodata443 answers
0 reactions

Can't drag blocks

Hello, when I use grapesjs (with gjs-preset-webpage or gjs-preset-newsletter) I sometimes have a weird bug. I can't drag the blocks on the right, they don't move when i click on them. Sometimes, even reload the page isn't sufficient. We witnessed this bug with Mozilla and Safari but not with Google Chrome. Did someone...

artf

Hi @algodata44, do you use the latest version? Any error in console? Honestly, I don't face any issue with other browsers so can't actually help you here. You should at least provide a live demo with steps on how to reproduce the issue.

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

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

#1170Jun 6, 2018by milapshah153 answers
1 reactions

Issue with Navbar Styling

Hello Everyone, I am facing issue in Navbar where responsiveness is not working and styling is also conflicting with bootstrap. @artf Can you please help on this? Warm regards Milap

FrciSmrci

Hey @milapshah15 , could you provide a little more information? Do you import bootstrap through the GrapesJS initialisation config under canvas styles property? Is the issue you are facing with responsiveness on bootstrap navbar or grapesj...

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

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.

#1162Jun 4, 2018by kaloyankostov3 answers
0 reactions

Editable components in Handlebars rendered template

Hi, I've been using grapes for about a couple of days now. Thanks for the awesome work on this project. I've read through the API docs (hopefully didn't miss this piece) and I've also tried some stuff out. Basically, I'm using grapes to load existing .hbs (handlebars) files in that the user will then be able to edit....

kaloyankostov

Just to clarify further as I now feel that my post was longer than it needed to be. I did some more digging and found #978. The issue described there is identical to mine. I basically have a custom component which has several child element...

artf

I see there are some conflicts in few points:Keep the source code of the handlebars templateHave the individual elements of the rendered handlebars template be editable in the grapes editor If you edit stuff you'd expect to get those edits...

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

#1123May 21, 2018by alfaalex813 answers
0 reactions

Onload event inside template

Hi! I have a problem with some templates. This template has some scripts running after the page is loaded. When this templates is loaded by GrapeJs, the scripts do not starting because browser not detect the ending of load. It's possibile to load templete in a classic iframe (not injected)? For example: <iframe src="h...

artf

Have you tried with this?

alfaalex81

Sure, other scripts with "allowScripts" parameter work fine, but scripts inside "on load event" don't. I inject the code in this way: var newComps = editor.DomComponents; $.get('http://myexamplepages.com', function (e) { newComps.setCompon...

artf

@alfaalex81 can you provide a live demo of the issue?

Browse all topics