Hi, I added a new button in Options Panel and now I'm trying to make it disable while a given criteria is not ok. For now, I tried to use the myButton.set('active', 1) but this is not I'm looking for. I take a quick look on GrapesJS code and I didn't see an option to disable the button or make it "unclickable". Is the...
artf
Hi Arthur, unfortunately, there is no 'disable' feature, but it'd be cool to have
arthuralmeidap
hi @artf , I will try to work on that, ok? I will starting adding a new disable attribute for the button. What you think?
arthuralmeidap
Hey @artf , This is not related to this issue, but do you know when a next version will be released? There is some improvements on dev branch that would be nice to have them.
When using url like: https://player.vimeo.com/video/240175862?autoplay=0&title=0&byline=0&wmode=transparent Video has autoplay enabled. This is not correct
vizardkill
The same goes for Youtube, the autoPlay property doesn't work
Hi, We recently updated GrapesJS from 0.8.8 to 0.12.15. After the upgrade, I found that the rte-toolbar appears in the top panel for some reason. I've tried doing a clean call of grapesjs (copied from the wiki): But the toolbar is still there: https://i.imgur.com/gcaBti2.png After I double-click the "Hello world" text...
artf
Seems like it's just not hidden on render, will fix it for the next release
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 found that the combobox has different styles on different browsers. Firefox 56.0.2 (64-bits): Chrome: Safari: I think the problem is with Firefox. Also when opening the select, firefox displays some white borders: As Firefox use custom select this gives me issues when changing to a light theme.
santiph
With the light theme enabled, this is what select boxes look like on Firefox for OSx <img width="198" alt="screen shot 2017-10-27 at 19 15 28" src="https://user-images.githubusercontent.com/747646/32127161-47023f32-bb4b-11e7-8f55-b0eeab117...
leantorres73
@artf I can work on it if you give me the indications, or if you want I can propose something.
artf
Thanks @leantorres73 a PR would be great. It's all about CSS and the problem is the <option> styling that should be here: https://github.com/artf/grapesjs/blob/dev/src/styles/scss/gjsinputs.scss (just try to search option) I think it would...
Hi, Any idea how to highlight the component in the container when hover in the layer manager ? I think this is like reverse of click component in the container then highlight the component in the layer manager. Thank you
artf
Currently, it's not so easy to achieve but definitely, it'd be cool to add and have some kind of API for this behaviour. Thanks for the suggestion
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 using two dropdowns in traits. On the selected value of the First drop down I am going to call an API and set data into another dropdown. I got data on console but that is not loading on the page. I have to refresh the page to view the changes. What should I do to get immediate change on the page? Here is m...
Hi @artf Is there a reason why when inserting text a new div is created for every break instead of a standard </br> Is it possible to disable this behavior and make a </br> instead. I know this works if I hit the shift + enter but I would like for it to be the default option. Thank you
artf
Hi @daniel-farina this is a default behavior in WebKit browsers, here you can find current solutions https://stackoverflow.com/questions/18552336/prevent-contenteditable-adding-div-on-enter-chrome I actually started rewriting the current R...
daniel-farina
Thank you for the update and information. I'll look into it.
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 a method to set how the categories are shown in the Block tab?
d3vr
As a (not-so-great and hopefully temporary) workaround, I moved the category I wanted to move using jQuery after the editor was fully initialized:
cmcintosh
We could look at something simple as adding a Weight parameter like CMS's like drupal do. Ill look at the code to see how hard it would be to create a PR.
edwardjiawei
Should the plugin added components being sort. should able to customized afterward like editor.BlockManager.sort(filter) -- by filter of label, by any config of order in BlockManager.add