GrapesJS Issues

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

829 issues found

🔍 question
#1285July 15, 2018by rdtomar222 answers
0 reactions

[Questions]: How suitable grapeJs for custom webPages for every user in an web app.

Thanks for such an awesome tool. I am looking for a library which can support my user with custom personalised web pages under a single app. How suitable is grapeJS for such case where I need to store a lot of user template data? Also in view of dataBases what should how and what I should be storing HTML/Json? Thanks.

artf

I think GrapesJS fits perfectly your needs, just read about the Storage to get an idea on how you would work

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.

#1280July 12, 2018by HakuTheWolfSpirit3 answers
0 reactions

Rendering third party components in grapessj editor

Hello, we'd like to render third party controls. This is a general question and we wan't to know whether we are going into the right direction. To render the controls we are required to use a third party technology (Vue, React, or similar frameworks). Both of the frameworks have one common problem: they are lagging th...

artf

Vue compiles at runtime if you use the version with compiler. Exactly like this component https://github.com/alexjoverm/v-runtime-template As second question I'd like to know whether it is possible to hook onto events from the editor from...

HakuTheWolfSpirit

Hi, thanks for the answer.Vue compiles at runtime if you use the version with compiler. Exactly like this component https://github.com/alexjoverm/v-runtime-template The problem with Vue is that there is not really a method that allows me t...

artf

The problem with Vue is that there is not really a method that allows me to put a string in as parameter and get html as an output. I have asked this question on StackOverflow and hopefully I will get an answer in near time. yeah but you c...

#1272July 10, 2018by Moikapy2 answers
0 reactions

[QUESTION] Using setComponent() ??

Creating a Plugin to use GrapesJS with Plone. GrapesJS Version: Latest When using the setComponent() function, we are scraping the HTML content from one page and setting it as the content for GrapesJS to edit/manipulate. The Component is then dropped into the Canvas along with the data-gjs- attributes are applied and...

artf

https://github.com/artf/grapesjs/issues/1074#issuecomment-405020535

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.

#1267July 9, 2018by zimnerd1 answer
0 reactions

How to save javascript rendered elements as HTML only

Good day I am struggling to save content appended using javscript as HTML, Instead it saves the script that does the appending. Is there a way to get the rendered HTML? Thanks WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/...

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.

#1263July 6, 2018by zimnerd1 answer
0 reactions

How can i embed a modal and be able to edit it in my html content

Good Day I am trying to add a modal into my html, I was able to add a modal in the blockmanager but i am struggling to find ways to edit the modal content inside the editor. Any help will be appreciatedWARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https:/...

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.

#1255July 3, 2018by jdodsoncollins3 answers
2 reactions

[QUESTION]: 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...

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

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

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