GrapesJS Issues

3,464 parsed GitHub issues โ€” 370 solved ยท 90 open. Search, filter and explore battle-tested answers.

829 issues found

๐Ÿ” question
#1750January 24, 2019by stychos2 answers
0 reactions

[Question] Show drawing outlines only under actively editing blocks

Is it possible to show show drawing outlines only for the currently selected (with all children) and for the hovered elements? Thus all other page elements would be rendered as a final result.

artf

Each component has the highlightable property, that you can disable on all types (by extending them) and change it on component select change (by listening to component:selected event)

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.

#1747January 23, 2019by SeongwoonHong1 answer
0 reactions

[Question] How to re-render the whole library dynamically

Hi Artur, I have this checkbox underneath the editor. If you click it, it will load extra custom components. and if you un-click it, those extra custom components should be disappeared. Is it possible? and if so, could you give me an example code of how to do it? I really appreciate it 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.

#1742January 23, 2019by suresh51 answer
0 reactions

How to load local css in to canvas of grapesjs editor in React ? Css path is not taking

WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...

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.

#1741January 23, 2019by ateebahmed3 answers
1 reactions

[QUESTION]: Can't render GrapesJS HTML/CSS when viewing page on frontend v0.14.50

I have built a page and want to render it on frontend, the strategy I have implemented is to save my HTML and JSON style object and on frontend passing both of them. Then I initialize GrapesJS and set its style to the JSON I got from DB, then getting the CSS from that object. when rendering editor when rendering front...

ateebahmed

@CaseJnr nope

artf

Read here about storing templates in DB: https://grapesjs.com/docs/modules/Storage.html#setup-remote-storage On the front-end, you don't need the editor, just print the HTML and CSS stored in your DB

ateebahmed

Read here about storing templates in DB: https://grapesjs.com/docs/modules/Storage.html#setup-remote-storageOn the front-end, you don't need the editor, just print the HTML and CSS stored in your DB Actually I can't store CSS along with HT...

#1740January 22, 2019by ateebahmed2 answers
0 reactions

[Question]: CSS properties set on id elements not saved v0.14.50

When I try to put background color on a 1 column row element, it is inlined in the editor and not bind with id, it has unique id, and when I save the HTML and styles json and render it back then its not saved either and the final HTML, if I open the Export option, it is there in CSS bonded with id but somehow the styl...

ateebahmed

in editor config, set avoidInlineStyle to 1. From demo page latest configurations, I updated the library but saw this change on demo page now. Thanks

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.

#1731January 17, 2019by abozhinov3 answers
2 reactions

[QUESTION] What is the best way to manage dynamic components?

Hi, can you please tell me what is the best way to manage dynamic templates. I want to describe you what's my case.Have e-commerce store and use GrapesJS.We have PAGES and in this pages want to add product collections or collection with brands (logo). I want to create few components like product collection, brand coll...

artf

You can make use of a custom component and variables to replace on server-side. Take a look at the example I made for you: https://jsfiddle.net/fcsa6z75/7/

abozhinov

Can you give me advice how to make mapping with dynamic data. Something like Webflow. They have product collection and you can edit template select TEXT component and choose this is ProductName. Their editor looks like GrapesJS. My concern...

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.

#1727January 14, 2019by alfaalex812 answers
0 reactions

[QUESTION] Event to get children view

I have a problem with a component. When I drop a component into the canvas I create a simple object. Before appending this object I need to check if some attribute is already populated but children are not yet available.

artf

Reproduce the issue in a live demo, if you're able to do so, open an issue as a BUG (follow the 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.

#1724January 11, 2019by Ramkumar-Murugesan2 answers
0 reactions

[QUESTION] link custom traits to my custom blocks

Hi, i have created a custom traits and custom blocks but i try to link my blocks in traits, it does not shows in settings option my custom blocks my custom traits can anyone please help me Thanks

artf

This is not a [QUESTION], please FOLLOW the instructions for a bug report and PROVIDE a live demo of your issue

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.

#1723January 10, 2019by Ramkumar-Murugesan2 answers
0 reactions

[QUESTION] replacing particular text in dropped component

Hi, I get the value from custom traits from what I entered but I don't know how to change the particular value in dropped component and render into the canvas my screenshot what I really want is to replace the regular text value to which I have entered in custom traits u can see in my screenshot my custom traits is he...

artf

Please check the Component API

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.