GrapesJS Issues

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

1,399 issues found

πŸ” outdated
#1100May 9, 2018by kuldeepcis2 answers
0 reactions

Unable to update the traits value in the HTML for custom component

I have created a custom component for social icons.When selected this component i have two traits in setting facebook URL and show facebook , when i update the both it gets updated and is reflected in canvas but when i export i don't get the URL for facebook which is set via the traits. Below is the code attached. gra...

artf

Please keep track of your issues here, you're talking about the same case #1089

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.

#1099May 9, 2018by ancientry3 answers
2 reactions

Where is the complete code of http://grapesjs.com/demo.html home page downloaded?

There is a big difference between the download code and the operation. Where is the complete demo code for the official website?

cjpollard

https://github.com/artf/grapesjs/tree/gh-pages

kuldeepcis

you can download through below URL, not clone https://github.com/artf/grapesjs/blob/gh-pages/demo.html

ancientry

There is a big difference between the download code and the operation. Where is the complete demo code for the official website?

#1098May 9, 2018by ionic6663 answers
0 reactions

How to use plugins

when i import grapes-plugin-export,there is a warnning,please help me

artf

gis-plugin-export -> gjs-plugin-export

ionic666

@artf hi,i have modify this.and i use this plugin in vue.js,but still always show "Plugin gjs-plugin-export not found".But my customized plugin test is ok

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.

#1097May 9, 2018by ionic6661 answer
0 reactions

How can i add class for element

hi ,i want to know how to match all classes which starts with 'c' data-gjs-droppable=".c"

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.

#1095May 8, 2018by Chilli-B3 answers
0 reactions

Preselect a trait select option

Hello, I'd like you to add to the options array of a select trait a third parameter next to 'name' and 'value', which is 'selected' in order to pre-select one of the trait options. In detail: I extended the header component by a select trait for all header types h1 through h6. Now I'd like to add something to the even...

artf

Hi @Chilli-B it would be better if you provide a live example of what you're trying to accomplish. BTW, if the trait is correctly created it should be synced with the component model, for example:

Chilli-B

Hi @artf , thanks for your reply. Below is how I created the trait by extending the text model for the header component. The problem is not the syncronization. The problem is, when I'm adding complete layouts to the canvas, which are inclu...

artf

The problem is not the synchronization. The problem is, when I'm adding complete layouts to the canvas, which are including h2 or h3 tags (or any others), and I'm clicking on them, the header type select in the settings (traits) always sta...

#1093May 8, 2018by ancientry3 answers
0 reactions

Hello, I am a novice. How can I run it?

How much is the 1: development environment and how to configure it; 2:grapesjs DEMO.HTML of the official website. How do I run locally?

ancientry

artf

You have to run npm i first https://github.com/artf/grapesjs#development The demo branch is here https://github.com/artf/grapesjs/tree/gh-pages

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.

#1092May 7, 2018by xr0master3 answers
0 reactions

Traits and storage trigger

Hey, maybe it's not bug, i'm not sure. I have traits with changeProp: true field. When I change the value of trait by UI, model is changed and all works fine, but the new changes aren't saved in Storage. So, after refresh the editor, I miss the values. If I append any component, when Storage is triggered and all have...

artf

Should be fixed by this https://github.com/artf/grapesjs/commit/32c1b2c1f4e1bef967f43b0013bfd481cddb81c7

xr0master

Nope. It doesn't fix it.

xr0master

Probably the #1104 close to fix it

#1091May 7, 2018by mbleverage3 answers
0 reactions

How to select the first Component

I want to launch the editor with the style manager visible and populated. Meaning that a component is selected by default and the style manager shows the styles related to that selected component. I have been struggling with how to access the model. var domComponents = editor.DomComponents; When I print the following...

artf

Do it when the editor is loaded

mbleverage

Thank you for your time. I just tried this and it is not working. Any other suggestion?

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.

#1090May 7, 2018by Deepak8133 answers
0 reactions

How to remove toolbar icons

Hi artf, Please let me know how we can remove the toolbar icons like when user click on image element then I don't want delete icon or other icons. Help us to resolve this. Regards, Deepak Walia

artf

the easiest way .gjs-toolbar { display: none }

Deepak813

Hi artf, Thanks for the message. I just want to hide the particular icon of the toolbar not the complete the toolbar.Like in complete toolbar i want to hide the delete icon, rest of the icons are same.

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.

Browse all topics