#783January 21, 2018by RiyaThete2 answers
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.
#782January 20, 2018by nicksav3 answers
Looking for someone to build a special control for us. Can anybody help? Good $$$ Thanks Nick
artf
I created a dedicated jobs channel on Discord https://discordapp.com/channels/365099684114464769/404263782559514624
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.
#781January 20, 2018by GoodPHP2 answers
How i can customize this element? It's component settings Who know, please help. Thank you!
artf
Read here please https://github.com/artf/grapesjs/wiki/Traits
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.
#780January 19, 2018by JulyanoF3 answers
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
#779January 18, 2018by Deepak8133 answers
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
#778January 18, 2018by ghena3 answers
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
#777January 18, 2018by ajaysofto3 answers
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.
#776January 18, 2018by sdhiman203 answers
Hi, I want slider drag and drop option in sidebar so can you suggest me how to add slider component and how to use
artf
You might want to try this one https://github.com/artf/grapesjs-lory-slider
sdhiman20
I already saw demo but could not find any solution
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.
#775January 18, 2018by gordon-matt2 answers
I noticed some of the images in my asset manager didn't have thumbnails and it seems it's only the ones with a space in the file name.
artf
Yeap, seems like quotes were missing in background-image: url(. Will be fixed in the next release. 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.
#774January 18, 2018by ryandeba3 answers
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.