#1169June 5, 2018by JulyanoF2 answers
Is it possible to have some style attributes, for example, color, background-color, font-size, in component settings tab, together with traits?
artf
Well, not really but you can create a trait which on change updates the style of the component
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.
#1168June 5, 2018by babak-karimi-asl2 answers
perfect . finally community is creating a perfect tool with 100% control over css and html. but i'm wandered why transform:translate is missing ?
artf
It's missing just because this is how is defined in the preset plugin but you can actually override it with your configuration and add all the transform you need
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.
#1167June 5, 2018by maxencehenneron3 answers
Hi @artf, Are there any other export options than HTML/CSS ? I'm thinking of a way to directly load the configuration from a remote server and render it on a web page on the fly. Good job on grapejs! :)
artf
Yeah sure, I explain the exact thing here https://github.com/artf/grapesjs/wiki/Storage#store-and-load-templates You can init the editor from HTML or directly (without parsing) via the JSON
artf
Thanks @maxencehenneron but I don't understand how this I'm thinking of a way to directly load the configuration from a remote server and render it on a web page on the fly (that you can alredy do it via the built-in remote storage) is rel...
maxencehenneron
Currently, grapeJS exports the template in HTML/CSS, I wanted to know if there was an easy way to create a front-end app that would load the configuration saved by GrapeJS via the remote storage and render it on a web page. The flow would...
#1166June 5, 2018by ionic6663 answers
hi ,when i drag a div ,there will be a extra div around it.
shareefhiasat
@ionic666 good question , can you prepare js fiddle like this, https://jsfiddle.net/ssabrewolf/7ur0cwq3/32/ it will save us time to respond , thanks
artf
This is what you've asked to render... components: are children in your case, probably you just need this content: '<div>123</div>'
ionic666
@shareefhiasat sorry,I can't open the url you provided,Can you give me some screenshots or code.thanks
#1165June 4, 2018by blaasvaer2 answers
WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issue DONE!
babak-karimi-asl
had the same issue . solved. explained here
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.
#1164June 4, 2018by bhavinshiroya19941 answer
i need to check import section onclick to blank or not and more info below atteched image. [https://user-images.githubusercontent.com/37970833/40917410-ca408020-6820-11e8-90cf-8b1020394181.PNG] please tell me know how to handle it ?. !best regards
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.
#1163June 4, 2018by agungjanuar3 answers
Hi @artf, On the previous issue #1132 about export <body my="attributes"> code, I think it's done using exportWrapper: true. But now experiencing constraints when it will import attributes from <body>, I try to set attributes does not work. I used importWrapper: true. Any solutions? Please help and thank you :) Figure...
shareefhiasat
Hi @agungaja , can you please point the documentation of exportWrapper: true, for some reason i cant find it , i think it may solve me the problem but curious to read its wiki ! Thanks
agungjanuar
yes it is true, I also can not find it. I was only given info by @artf in issue #1132. Or maybe I have a less exploratory documentation 😄. The point is, why when the content set uses var initcontent = $('#import_html').val(); editor.setCo...
artf
@agungaja there is no importWrapper option and you can't import tag <body>. GrapesJS expect the user to pass the CONTENT... not the WRAPPER (which in most cases is body), the wrapper should be defined by its configuration;
#1162June 4, 2018by kaloyankostov3 answers
Hi, I've been using grapes for about a couple of days now. Thanks for the awesome work on this project. I've read through the API docs (hopefully didn't miss this piece) and I've also tried some stuff out. Basically, I'm using grapes to load existing .hbs (handlebars) files in that the user will then be able to edit....
kaloyankostov
Just to clarify further as I now feel that my post was longer than it needed to be. I did some more digging and found #978. The issue described there is identical to mine. I basically have a custom component which has several child element...
artf
I see there are some conflicts in few points:Keep the source code of the handlebars templateHave the individual elements of the rendered handlebars template be editable in the grapes editor If you edit stuff you'd expect to get those edits...
no-response[bot]
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...
#1161June 2, 2018by besingasj2 answers
I have enable dropzone on assetManager and i think it works correctly. But I also notice that the hovering effect when the image is being dragNdrop is not working. I just see the text on the upper left corner. here is my initiation of the grapesjs. as you can see there is no hovering effect just like what is shown her...
artf
@besingasj the styling of the dropzone is up to 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.
#1160June 2, 2018by ADTC3 answers
Similar to #1140 but it is in Firefox 60.0.1 (64-bit) and the Console spits out the following: On Webpage Demo: On Newsletter Demo:Are you using the latest release (older versions are NOT supported)? Don't knowIf you're not sure, type grapesjs.version in console and press ENTERAre you facing the bug with your local co...
blaasvaer
So, there are demos on the frontpage of the site that simply doesn't work without us having to go through hoops and loops. Why don't you simply fix the pages on the website!?
ADTC
Hmmmmmm the problem appears to have gone away after I posted this. I had refreshed several times before and it was still there before. If you think there's nothing to fix, please feel free to close.
babak-karimi-asl
i had the same issue . just install this chrome extension called HTTPS Everywhere . the blank page is because of some security risk of mixture of http and https requests and browsers will load the page but showing nothing . the error is re...