GrapesJS Issues

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

3464 issues found

#1075April 27, 2018by kuldeepcis2 answers
0 reactions

create new element block

I need to add new element in basic block section.I checked we have a gapejs-preset-webpage.js where i can add the elements but in the whole editor module its minified version is used,so i need to include the minified version and can not include gapejs-preset-webpage.js .Is there any way i can add the new elements.I ha...

artf

https://github.com/artf/grapesjs/wiki/Blocks

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.

#1074April 27, 2018by kopecms3 answers
0 reactions

[QUESTIONS] keeping data-gjs- tags

Hello, great stuff. Thanks.Is there any possibility to not remove data-gjs- tags when loading html template or return them with getHtml()?

artf

No, data-gjs-* attributes are used only for the import purpose

Moikapy

Is there a way to remove this on a local version, I'm needing the data-gjs-* to be kept when returned to the canvas.

artf

You can always extend the default component view and add attributes you need

#1073April 26, 2018by NicolasBerino3 answers
0 reactions

Integration with GWT

Hello, Actually, i've a gwt application and i need to integrate grapes js. My problem is i not really how to do this because of all the different files in JS. I understood that it was necessary to create a module with specific path but i don't really see how to link js with gwt in the context of such a large project....

artf

I don't know how GWT works but I'd not expect anything different from using any other external library. You just need to include one grapesjs js file https://unpkg.com/[email protected]/dist/grapes.min.js (probably you will need a style too)...

NicolasBerino

thank you for your answer, but it does not help me because it is at the level of writing the context that I have trouble. In fact, I tried to use the readme to integrate the two min files (with minimal context as a result) but it did not w...

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.

#1072April 25, 2018by andsnake2 answers
0 reactions

Cannot add a new css rule if an element that is using it is not present in the html

HI, i'm using the latest build and i have the issue as described in the title. I am editing html and css separately. I have noticed that when editing the css, if i try to add a new class, not used by any of the elements in the canvas yet, after saving, that css class is removed, if instead i go and create a dummy div,...

artf

Yes, it's a normal behavior, the editor optimizes the exported code, but in the next release you'll find a new keepUnusedStyles option, which allows you to skip this optimization

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.

#1071April 25, 2018by perfect-coders2 answers
1 reactions

Change the colours, thickness of hover permanently for the whole editor.

@artf - I don't want user to select element and change the states. I want to change the colours, thickness permanently for the whole editor by default. Means it doesn't depend on the user or any element. I want to change it for the editor permanently.

chapterjason

You can find all the styles for the editor in the following directory https://github.com/artf/grapesjs/tree/dev/src/styles/scss Note: it's scss not css I you want to find out the css selectors directly, you can use the browser developer to...

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.

#1070April 25, 2018by AboyobamX2 answers
0 reactions

[QUESTION] Image insert blocked

I'm trying to build a website with grapesjs and now i'm facing the problem, that i can't insert any image from my PC. When i try to upload an image the following information appears: Does anybody know how to fix this problem? Thanks for the help! AboyobamX

artf

The demo uses Filestack's free plan therefore when the limit is reached the plugin is blocked (it resets each month). Moreover, the demo is designed to show GrapesJS's features and not as a service to create websites

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.

#1068April 25, 2018by perfect-coders2 answers
0 reactions

Same Traits are not showing When we are rendering the countdown element after saving the template and render again

At the first time, the countdown and its are showing and working fine. But I save the template and then again render the template, but same traits are not showing in the countdown element when I click on the countdown element again.

artf

Store and load data as JSON not HTML. Search in issues how to store/load data for more informations

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.

#1067April 25, 2018by phucphanJaneto3 answers
0 reactions

[BUG] - Grapesjs become null when allow script

Hi @artf I initialized grapesjs without allow script. I imported html string from the attachment (template.zip) and Grapesjs can show it correctly But when I allow script by allowScripts: 1 in init code and imported the above html string. Grapesjs doesn't show any and I can't use any grapesjs. template.zip

artf

Can you provide a live demo on jsfiddle?

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

phucphanJaneto

Hi, @artf Sorry for late reply. Here you are: https://jsfiddle.net/oq58jk1p/6/ Currently, I comment the line "allowScript: 1" in the jsfiddle. When you test please open this again. Thanks.

#1066April 24, 2018by JulyanoF2 answers
2 reactions

[QUESTION] Get content with inline CSS

I've been looking for some explanation and I found that some email clients blocks CSS... I would like to know if is there some way to get editor's html with all css inline, like <div style="color:red; max-width: 100px"></div> instead of classes

chapterjason

Hey, There are some ways to do this. Read this to get a solution to use Juice For some more details I would read more in the docs about the storage-manager. Please use the search functionality next time. Cheer!

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.

#1065April 24, 2018by kuldeepcis2 answers
0 reactions

Demo page and download is not the same

Github clone code is having only single blank block. please check attachment of my local machine. please guide me how can setup on local machine. I'd just git clone https://github.com/artf/grapesjs.git after that install all the Extensions like https://github.com/artf/grapesjs-plugin-export using command: npm i grapes...

artf

https://github.com/artf/grapesjs/blob/gh-pages/demo.html

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.