QUESTION My site consists of various webpages like home-page, category-page, results-page etc. The css for all the pages are in a single css file (all.css). I am trying to load a single webpage (results-page) for editing by using the import plugin. Without making any changes I exported the html and css by using export...
JulyanoF
You can put your css inline like this: Or import a .css file, like this:
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'm trying to reorder these blocks, removing all of them from BlockManager and adding one by one in my order preference, but it's still not working. Someone knows what is the rule to ordenate them?
artf
Don't remove them, just update and render
chiqui3d
@artf It would not be ideal to add an order option like this for blocks and panels.
artf
@JulyanoF you can re-render them in this way or, if it's just about reordering inside their categories, you can rely on order css property as its container is flex
Hi @artf, We have found that when we set background color of any element then no other element is draggable. This is the serious issue exists in latest library as well as the new grapes version downloaded. I am using latest version i.e /! grapesjs - 0.13.5 / Thanks
ryandeba
Hi @Deepak813, I'm tried recreating this in the demo (which currently uses version 0.13.5) but I have not been able to recreate it. Could you test there and provide steps to reproduce the bug? Or could you create a jsfiddle that demonstrat...
Deepak813
Hi @ryandeba, Thanks for the message, Please find below the attached video link of reproducing the bug: Url 1 : https://vimeo.com/251763933 Url 2: https://vimeo.com/251784423 This error exists in using color picker with any element in the...
artf
@Deepak813 yeap, seems like the colorpicker breaks the drag event attached to blocks
Hi guys, I need to solve a problem. Saving html grapejs strip all data-gjs- from html. Exists a way to maintain all data-gjs- before save editor html ? Infact if i save my template all data-gjs-droppable is missing and in a next render it doens load data-gjs-droppable attributes and son on. I save in this way: editor....
artf
@ghena you should store HTML/CSS for the final result, for the editor you have to rely on JSON format I think it would be better for you using the built-in remote storage instead of a custom one Check also #597
shareefhiasat
@artf how to save with remote end point with inlined html mode , i mean html and css into html sent to server ? thanks
artf
@shareefhiasat all you need is here https://github.com/artf/grapesjs/wiki/Storage
Hi artf, I am using new library of grapes but in newer library dynamic classes are not generated automatically on child cell like "c3130 etc". These classes are only applied to parent div not the inner div under that one. what we have to do to apply these custom classes on every divs that are in an elements.
ajaysofto
Hi artf, Its urgent,please reply as soon as possible as we are struck in the middle of the tasks. Hope for positive response.
artf
Its urgent,please reply as soon as possible as we are struck in the middle of the tasks PRs are welcome...
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 @artf, I'd like to replicate this behavior when calling editor.setComponents("<div>This is a text component. <span style='font-size: 20px;'>This is a nested element that I don't want get parsed out.</span></div>"). In that example, I would want the nested span to not get parsed as its own component so that I cannot...
ryandeba
Now that I think through this a bit more, option 1 wouldn't really work for me since I want to prevent any inline styles from getting removed, as well as preventing any id's/classes/attributes from getting added to the child elements. So I...
artf
Hey Ryan what about this custom component
ryandeba
Thanks @artf! I bet your suggestion will work for me - I'll test it out in the next few hours.