Hi @artf, Hope you are doing fine. Few days back i have asked question from you in reference #750 regarding how to set timezone in countdown element and you said we can use its different options so i have used "datetime-local" to show time but its not working in mozilla browser.please let us know how we can resolve th...
artf
The countdown is a plugin, so you should open all the relative issues here https://github.com/artf/grapesjs-component-countdown ... already told you hereJust create a custom trait (eg. by using some date picker) and use it inside the plugi...
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 run this on Cloud9 but when I go to run it using the 'npm start' command it gives me the url of http://localhost:8080/ when I need it to follow the following format: https://app-name-username.c9users.io/. What do I need to update to achieve this?
richardabear
use process.env.HOST and process.env.PORT inside of the webpack dev server configurations
artf
And as the last command of npm start is webpack dev server you can pass them in this way npm start -- --host XXX --port 80
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.
This is not actually an issue. I would like to add a button inside the original code view modal, it's like zip download button that @artf added inside this plugin. Instead of modifying gjs export plugin, Is there any API option that I can achieve it in a few lines. Probably, something like this.. It could be done by c...
ronaldaug
I got it by listening this command run:export-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.
Hello! I am creating a new block that will open a modal during the creation (drag and drop https://github.com/artf/grapesjs/issues/174 really helped me and it works. But it had a surprising side-effect: When I select and deselect a text component, the text disappear. Here is the code, I think I changed the defaultType...
artf
Wrong position for isComponent, it should be passed in the second argument object So it's like not declaring it, and as mentioned in ComponentsAs you're putting a new Component type on top of the stack, not declaring isComponent() might pr...
algodata44
It works perfectly, 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.
The changelog statesAdded the possibility to output custom attributes in toHTML method How do we use this feature? I cant find the corresponding issues, or any info on the options for the toHTML method in the wiki. I used this function in 0.14.20 and earlier to post the html to the server and do some more processing o...
artf
but now the id's are not in the html anymore Can you explain better your case because this new feature shouldn't change the previous behavior. BTW to explain this new option let's take for example a component that on component.toHTML() ret...
Jogai
You're probably right. It's not this feature that's changed that behavior. Maybe its a bug, you can change the title of the issue if you confirm it. My test case: Template: Version 0.14.21 html output (from grapesjs.com/demo.html): Version...
artf
Thanks @Jogai, you're actually right, there is a bug (will be fixed for the next release), but I'd like to suggest to try this option which should also correct the current behaviour: One day or another, probably, this will be true by defau...
Hi @artf, Can you please let me know how we can set the slider in margin-top property.I am setting with the below code but slider is moving to its direction: { name : 'Margin Top', property : 'margin-top', type : 'slider', defaults : 1, step : 0.1, min : 0, max : 1 }, Please help me out to resolve this. Thanks in adva...
artf
I don't understand your issue, so please be more specific or even better post a live demo. BTW I don't think you want 1 as a maximum value of the margin, it would make more sense something like this: step: 1, min: -100, max: 100
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...
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'm using grapesjs with grapesjs social plugin, after using this plugin some conflicts generated in the system. Social plugin option show with babbar and also change the design of tab. Please check code on fiddle;: Click here to check
artf
Wrong repository
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.
Is there any support for JSON to HTML rendering, so that we can get control over the content to be published in the newsletter or webpage. Rather than rendering direct HTML in the editor.
Jogai
You can put all your separate pieces of content in the blockmanager making it ready to be dragged in a template.
artf
Instead of You can do 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.
Hello, In my project I have replaced the AssetManager by my own. However, when I use the new manager to update a components background-image, the background-image shows up, but the new state isn't reflected in the panel. Basically my question is: how do I detect what property or attribute the user is editting? And how...
artf
First of all, I'd avoid applying the style on selected component editor.getSelected(), you should do it on opts.target as it might be different from the selected one editor.runCommand('open-assets', { target: someOtherComponet })how do I d...
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...
SalesFeed
@artf Thanks, I followed your suggestions, but I can not get it to work. opts.target does not have a addStyle method It also seems the editor is generating an extra id in the css, so there are duplicates. I have set avoidInlineStyle: true,...