GrapesJS Issues

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

203 issues found

πŸ” enhancement
#863Feb 13, 2018by nojacko3 answers
1 reactions

Background-image not picked up from styles attribute

As title + background-image is removed by styles manager when added a background layer.Getting started: https://jsfiddle.net/5upe6myo/Note background-imageClick between the text. Should show as "Box".Under Styles > Decorations, the background-image isn't shown.Clicking "+" next to background removes the background-ima...

nojacko

The styles I've defined for my element aren't reachable in the style manager. When I click the box in the canvas I'd really expect to see all the styles it has in the style manager, rather than the the styles of the class Grapes has added....

artf

Actually, this is how style manager works with classes. When you select the "Box" you can see that you have picked ".fluid-container.c318" selector, which doesn't have any bg, but when you uncheck "fluid-container" class, the current selec...

nojacko

This seems a little weird. Grapes adding the class c318 makes my styles unreachable. I'd expect the html and styles provided to be editable.

#690Dec 28, 2017by TWCM3 answers
0 reactions

Preview Command bug: exit the preview mode will run the sw-visibility command, when the sw-visibility stopped before go to preview mode.

Hi @artf , The case is "switch-visibility" command stopped, then click the preview button or trigger preview command, it will go to preview mode, when exit the preview mode, the "sw-visibility" command ran, it haven't save the state before go to preview mode and cannot reset the visibility after stop the preview comma...

TWCM

Hi @artf, I found that the command running sequence when click the preview button: Is it a bug ? this running sequence make me cannot get the correct classname of canvas' body. so cannot store the state before run the preview command. I ca...

artf

@tommywulove I tried this in the demo and the sequence seems correct

TWCM

@artf but why i click the preview button, it will trigger the stop command once , then run the command ?

#679Dec 23, 2017by z1lk2 answers
0 reactions

Categorize Traits similar to Blocks

I'm building the Bootstrap plugin and have a growing list of utility settings for basically every component. Add component-specific and ARIA settings on top of that, and the Settings panel becomes pretty cramped. Can we have the ability to categorize settings into "collapses" like with Blocks? I'd be willing to contri...

artf

Thanks @z1lk for the suggestion, it definitely makes sense but I'm not sure about copying stuff, I'd like to avoid repeating code, probably it would make sense create an abstract view which does the same thing and which we can use in other...

artf

Closing this in favor of https://github.com/GrapesJS/grapesjs/issues/1806

#673Dec 22, 2017by crazyxhz3 answers
1 reactions

How to render block manager outside container?

I'm new to this great library and it seems very neat and clean BUT here is the problem that I have. I'm having gjs rendered in the middle, and I want to render block manager and other panel and button into third party ui component. How can I do that?

lorrandavid

@crazyxhz after the new release v0.14.5 it's now possible to render block manager outside of the main editor. You can achieve the desired result like this: I don't know if it's docummented but you can find more about it on @artf explanatio...

artf

Hi @crazyxhz currently it's not possible to achieve via configuration but it's something I'd like to improve. Currently, as a workaround, you can move panels via js once are rendered, for the block manager you have to activate it first

artf

Thanks @lorrandavid for pointing this out, this issue can be closed now

#668Dec 22, 2017by TWCM2 answers
0 reactions

When element not available to select, suggest hover and click event will select the available parent.

Hi @artf, can i have a enhancement for select command, when the cursor click or hover the element which is not selectable, then the selection jump to available element. Since the element not available to select, and nothing can do in the element, so i suggest hover and select jump to available parent.

TWCM

Hi @artf , I am trying to help for this enhancement. But i am not sure am i correct, please help to verify.

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.

#660Dec 20, 2017by TWCM3 answers
1 reactions

Select Parent Function not working when parent element is not selectable

Hi @artf, I have a question about select parent function. Cannot select the parent when parent element is not selectable, suggest to skip the parent element then select parent's parent element until to the div#wrapper.

ryandeba

I could probably help out here - I'll try to make a pull request later today or tomorrow.

TWCM

Hi @ryandeba, Thanks for your effort.

TWCM

Hi @artf, more one question, can i have a enhancement for select command, when the cursor click or hover the element which is not selectable, then the selection jump to available element. Since the element not available to select, i want t...

#644Dec 14, 2017by Geczy3 answers
17 reactions

Upgrade to Fontawesome 5

From fontawesome 4. Would be a good opportunity to make fa5 a peer-dependency this time as well, so people aren't including it twice Some icons need to be replaced is the only migration

artf

Hi Matt, we're already planning to remove Fontawesome from the core and use instead SVGs for icons :)

antman3351

Hello, I'm currently testing / early development integrating GrapesJs into an existing web application that's using FontAwsome 5.12 (I'm really impressed with GrapesJs especially with how extendable it is πŸ‘πŸ‘Œ) I'm just leaving this as a n...

Geczy

PS, FA5 uses SVGs ;)

#590Nov 29, 2017by Geczy3 answers
0 reactions

How to overwrite domain_abstract ui Input component?

https://github.com/artf/grapesjs/blob/25fdbe14098c7e1a65d3e5527749302174f56a7d/src/domainabstract/ui/Input.js I want to change the input class: https://github.com/artf/grapesjs/blob/25fdbe14098c7e1a65d3e5527749302174f56a7d/src/domainabstract/ui/Input.js#L15 To something entirely different, ie form-group

artf

Domain abstract stuff are just for internal usage so I don't even plan to let them overwritable, which is your use case?

Geczy

I want to customize the appearance of the form fields in the settings panel of a component, by using existing classes in bootstrap or another css framework I use. So I want to replace gjs-field with form-group

artf

Ok, got the case, but at the moment there is just no easy way to accomplish it :/

#563Nov 23, 2017by faizansaiyed3 answers
2 reactions

Table <thead> and <tbody> tag gets Omitted

Hello, There is new issue with GrapesJS (maybe). I've created new component using bm.add() in which I've used a table element with <thead> and <tbody> tags. But when getting html using editor.getHtml() method, the <thead> and <tbody> tags gets ommited. Can you please help?

artf

@fsaiyedOB yeah, I've made the table component like this because at that moment of writing the sorter was acting differently and it was messy ordering rows with tbody-like elements around. Currently, dealing with tables it's not my priorit...

ryandeba

Thanks! I'll try to get started on this in the next few days.

ryandeba

Hi @artf - I can probably take a look at this at some point. I've started by just removing the "Clean table rows from non rows" section in the table component (lines 54-68). Can you point me in the right direction of what problems this cau...

#536Nov 17, 2017by edwardjiawei2 answers
0 reactions

Better Alignment for Block in Block Manager

For example, Block for 2 Columns and 2 Columns 3/7 's font awesome and label are not aligned

artf

If you're creating your editor you can easily tweak some CSS (eg. change the font size of blocks), don't see this as something to "fix" at the core level

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.

Browse all topics