GrapesJS Issues

3,464 parsed GitHub issues β€” 370 solved Β· 90 open. Search, filter and explore battle-tested answers.

203 issues found

πŸ” enhancement
#466Oct 30, 2017by arthuralmeidap3 answers
0 reactions

Disable button

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.

#462Oct 28, 2017by ivantokar1 answer
0 reactions

Autoplay on video does not work correct

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

#461Oct 28, 2017by roytang2 answers
0 reactions

RTE toolbar appears in the top panel

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.

#456Oct 27, 2017by leantorres733 answers
0 reactions

Combobox cross-browser issues

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...

#423Oct 16, 2017by JFOC2 answers
0 reactions

Highlighting the component

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.

#418Oct 13, 2017by justvinz2 answers
0 reactions

Can't replace image if it's inside a link

Hi, If import this code inside the editor: And double click the image to change it, when I choose a new image from the modal, nothing happens.

artf

Ok, probably I have to set the Link Component not editable if children nodes are not texts. At the moment, you have to set it explicitly

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.

#397Oct 9, 2017by HarshOB3 answers
1 reactions

Change value of Traits on the base of previous Traits.

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...

artf

I meant "I have to add" 😬

artf

Have to add a listener for options change

HarshOB

And How can I add a listener for option change?

#394Oct 9, 2017by daniel-farina3 answers
1 reactions

Text: New div is created every time I hit enter instead of creating a </br>

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.

#364Oct 2, 2017by cmcintosh3 answers
4 reactions

Sort How Block Categories are displayed.

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

Browse all topics