#1064April 24, 2018by bigd2133 answers
I have successfully contained div id="gjs" inside of another div container so that it would not take up the full screen. I am doing this so that my own navigation bars can be show above and to the left of the grapesjs editor. I have tweaked the height: '100%' value and found that to help, but I could not find a value...
artf
There is a width option if you want, but it should adapt correctly to the parent width. To get a better of what is wrong with your layout a live demo in jsfiddle would be great
bigd213
Thanks - My question was answered with the width option.
chapterjason
@artf I think there is something wrong with the no-response bot :smile:
#1063April 24, 2018by perfect-coders3 answers
Hi @artf , hands raised for this awesome product. I am trying to change the hover colour on hovering elements. I am also trying to give different colours and width to hovers on hovering different elements. Please help me to get this done. Thanks in Advance.
chapterjason
You can change the state for an element in the style-manager and then change the color and all the other properties. The editor will save then the properties associated to their state in css with all the #test:hover { ... } selectors.
perfect-coders
@chapterjason - Thanks for the reply. but this didn't solve my problem. I don't want user to select element and change the states. I want to change the colours, thickness permanently for the whole editor. Means it doesn't depend on the use...
chapterjason
@perfect-coders did you mean the style of the editor? Not the elements in the editor ?
#1062April 24, 2018by Divyeshkotadia3 answers
@artf Wonderful newsletter editor and it is very user-friendly. Great Job!!! In my POC application, I fetch the newsletter editor content and then pass that as email body to SMTP for sending it respective recipients. To fetch the editor content I use editor.runCommand('gjs-get-inlined-html') code statement but since a...
artf
Unfortunately, it's a bug introduced by the 0.14.9 version, but already fixed and ready for the next release
artf
@mmeeeooowww you don't have that command inside the website demo
francesca-cicileo
+1 having the same issue
#1061April 24, 2018by Deepak8132 answers
Hi artf, Please let us know how we get the countdown elements in edit mode means when we set the template html using editor.setComponents(templateHTML); then when we click on countdown element it displays the id and title fields not the Endzone and endText fields. I have tried a lot with setting model type as datetime...
artf
editor.addComponents('<div data-gjs-type="countdown"></div>') You can create a custom template by relying on data-js identifiers
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.
#1060April 24, 2018by Deepak8132 answers
Hi artf, Please find the below video reflecting countdown issue: https://vimeo.com/266054022 Please review it once and let me know if need further assistance in countdown issue understanding.
artf
Duplicate of https://github.com/artf/grapesjs-component-countdown/issues/4
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.
#1059April 21, 2018by rohanreddyg3 answers
Hi, I need to load content from a html file from server onto editor after or while initializing editor. How this can be implemented? HTML will have regular html content i.e HTML tag, script tags, css links and body content which needs to be loaded into editor. StoreManager api documentation is limited and looks like d...
artf
StoreManager api documentation is limited and looks like default load looks for a specific JSON structure with separate html, css as data. Because this is the right way of loading template data, but if this is the first time you load a tem...
suresh5
> StoreManager api documentation is limited and looks like default load looks for a specific JSON structure with separate html, css as data.Because this is the right way of loading template data, but if this is the first time you load a te...
artf
@suresh5 can you please avoid making requests on closed issues...
#1058April 21, 2018by tommedema3 answers
Tested on latest dev branch commit 39be1e0. This problem occurred on one of my templates, so it's a real world issue. It took me about half a day to create this minified test case, so I hope it helps. If you have a template with the following CSS: A browser renders this correctly as such: <img width="609" alt="screen...
artf
when the browser itself already has a DOM tree and all styling information etc can be retrieved on-demand once a component is selected Probably this is something I've tried to build before grapesjs, and to be honest, after few weeks of wor...
tommedema
@artf it's surprising to me that this is slower because I thought the browser would be heavily optimized for this, but you definitely have more experience with this project so I'll trust in your judgement ;) I'm definitely in favor of an o...
artf
I'd really appreciate a PR. I think the check would be ok inside the add method
#1057April 20, 2018by Deepak8133 answers
Hi artf, I have checked on live website, Countdown time is not working correctly as minute column accept only 0,1,2,4,5 digits only means it never show minutes after 05 minute values. Please review it once.
Deepak813
Hi artf, Please find the below video reflecting countdown issue: https://vimeo.com/266054022 Please review it once and let me know if need further assistance in countdown issue understanding.
Deepak813
Hi artf, Please find another example of video reflecting countdown issue: https://vimeo.com/266063785 Please review it once and let me know if need further assistance in countdown issue understanding.
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.
#1055April 19, 2018by anuradhaindika833 answers
Hi, I'm using the latest version (grapesjs - 0.14.9). I have loaded an external HTML code to the editor. Then I tried to edit text within a DIV. But it is not allowing me. Try importing the below code to the Newsletter demo. You'll see that you can't edit the text. If you remove the image tag and import it again, then...
tommedema
This is due to https://github.com/artf/grapesjs/issues/1013
artf
@indikaanu83 subscribe to #1013 if you want to be notified when the issue is solved
anuradhaindika83
Oky Will do. thanks Artur.
#1053April 18, 2018by FrciSmrci3 answers
Hey @artf, is there any flag available to leave the unused styles? Referencing to you provided answer here. Thanks in advance and have a great day.
arthuralmeidap
okay my friends, doing now! Thanks for the feedback and the english lesson!
arthuralmeidap
Hi @artf , Added a basic support for this. Take a look on the #1054 and let me know what do you think
arthuralmeidap
hey @FrciSmrci , Just to let you know... I just added support for this for grapesjs. I created a new PR and I'm waiting for Artur's review and approval.