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