GrapesJS Issues

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

3464 issues found

#1254July 2, 2018by alperenuzun3 answers
0 reactions

addType in domcomponent for html conditionals doesn't work grapesjs 0.10.7 version

Hi Artur, First of all, thank you for sharing such a great project :) I want to tell you a problem that I have experienced. You commented below code for addType in #208 issue. I was using grapesjs - v0.5.41 before using grapesjs - v0.10.7 and i wanted to add category structure for blocks in grapesjs newsletter plugin....

artf

Hi @alperenuzun we don't support old versions so, please try to update to the latest and check if everything works. By the way, when you add new components be sure to do it from a plugin.

alperenuzun

"Plugin" was the answer for me :) In old versions it worked without using plugin. Now, it's working with plugin. Thank you very much for your help.

alperenuzun

Hi @artf I've got another question. Conditional comments are working well but don't look correct on design. This is the code that i used the conditional comments in: This is the design that i used conditional comments in: This is the code...

#1253July 2, 2018by bhavinshiroya19943 answers
0 reactions

grapesjs IE 11 Not showing webpage

Hello i'm use grapesjs in creating webpage, works perfectly chrome browser but not showing grepesjs webpage on IE 11 please let me know how to solve this problem.

brutalnoise

Array.from is not supported in Internet Explorer. You can add the code, which is in the polyfill section of this page in yours. developer.mozilla.com

artf

@bhavinshiroya1994 thanks for the report, this will be fixed for the next release

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.

#1252July 2, 2018by ionic6663 answers
0 reactions

there was nothing in assetManager

#1237 i am sorry.Let me describe my question again。we can not change the background-image from the style manager before dragging the image

ronaldaug

Ok If I am not wrong, you are asking the css background-image property under the style manager. Here is where the background images are added. <img width="796" alt="screen shot 2018-07-02 at 10 44 20 am" src="https://user-images.githubuser...

ionic666

@ronaldaug Thank you for your kind answer。but if i drag a image first,and then i can change the background-image from the style manager.

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.

#1251June 30, 2018by Deepak8131 answer
0 reactions

Text Element cursor is not going to next line

Hi @artf, Text Element cursor is not going to next line after "enter" key is pressed.I tried alot but nothing happens Please help us to resolve 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.

#1250June 30, 2018by Deepak8132 answers
0 reactions

Countdown type "datetime-local" not working in Mozilla Browser

Hi @artf, Hope you are doing fine. Few days back i have asked question from you in reference #750 regarding how to set timezone in countdown element and you said we can use its different options so i have used "datetime-local" to show time but its not working in mozilla browser.please let us know how we can resolve th...

artf

The countdown is a plugin, so you should open all the relative issues here https://github.com/artf/grapesjs-component-countdown ... already told you hereJust create a custom trait (eg. by using some date picker) and use it inside the plugi...

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.

#1249June 29, 2018by gregvissing3 answers
1 reactions

[Question] Issue running on Cloud9

I'm trying to run this on Cloud9 but when I go to run it using the 'npm start' command it gives me the url of http://localhost:8080/ when I need it to follow the following format: https://app-name-username.c9users.io/. What do I need to update to achieve this?

richardabear

use process.env.HOST and process.env.PORT inside of the webpack dev server configurations

artf

And as the last command of npm start is webpack dev server you can pass them in this way npm start -- --host XXX --port 80

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.

#1248June 29, 2018by ronaldaug2 answers
1 reactions

Appending a button inside the default (code view) modal.

This is not actually an issue. I would like to add a button inside the original code view modal, it's like zip download button that @artf added inside this plugin. Instead of modifying gjs export plugin, Is there any API option that I can achieve it in a few lines. Probably, something like this.. It could be done by c...

ronaldaug

I got it by listening this command run:export-template.

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.

#1247June 29, 2018by algodata443 answers
0 reactions

Text disappear after creating a new type

Hello! I am creating a new block that will open a modal during the creation (drag and drop https://github.com/artf/grapesjs/issues/174 really helped me and it works. But it had a surprising side-effect: When I select and deselect a text component, the text disappear. Here is the code, I think I changed the defaultType...

artf

Wrong position for isComponent, it should be passed in the second argument object So it's like not declaring it, and as mentioned in ComponentsAs you're putting a new Component type on top of the stack, not declaring isComponent() might pr...

algodata44

It works perfectly, thank you!

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.

#1246June 28, 2018by Jogai3 answers
0 reactions

[Question] How to preserve the Id attribute with toHTML

The changelog statesAdded the possibility to output custom attributes in toHTML method How do we use this feature? I cant find the corresponding issues, or any info on the options for the toHTML method in the wiki. I used this function in 0.14.20 and earlier to post the html to the server and do some more processing o...

artf

but now the id's are not in the html anymore Can you explain better your case because this new feature shouldn't change the previous behavior. BTW to explain this new option let's take for example a component that on component.toHTML() ret...

Jogai

You're probably right. It's not this feature that's changed that behavior. Maybe its a bug, you can change the title of the issue if you confirm it. My test case: Template: Version 0.14.21 html output (from grapesjs.com/demo.html): Version...

artf

Thanks @Jogai, you're actually right, there is a bug (will be fixed for the next release), but I'd like to suggest to try this option which should also correct the current behaviour: One day or another, probably, this will be true by defau...

#1245June 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.