GrapesJS Issues

Search parsed GitHub issues, see highlighted answers, and open the original discussion when needed.

3464 issues found

#987March 29, 2018by baxxos3 answers
0 reactions

[BUG/Question] Dropdown indicator not displayed for a custom trait

Hello, the dropdown (select) element arrow indicator icon is not rendered when adding a custom trait to a component: I'm using following code to add the custom trait to the link component: Is there anything I'm missing? An extra attribute perhaps? Everything else works fine, except for this detail (which is apparently...

nojacko

I think you have to override the CSS.

baxxos

Successfully resolved via a "dirty hack" (overloading the initialize method) referenced here: #972

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.

#986March 29, 2018by nojacko2 answers
2 reactions

[BUG]: Exported CSS cannot override body's background-color

When a body background style is defined in the style option of the init function it's not possible to override. Given the style: After changing the background-color in Grapes, the CSS output is: Due to the ordering, the original colour will take precedence when used. While not necessarily an issue, the repetition of b...

artf

Thanks James, we already aware of it #552 but unfortunately not yet provided any fix :/ The main problem is that GrapesJS doesn't handle well body/wrapper styling and so, as a result, we have the body coming from 3 different spots:from pro...

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.

#985March 29, 2018by tomichal3 answers
1 reactions

Can GrapesJS allow uploading arbitrary file through the built in asset manager?

I looked at the asset manager code as well as the wiki and it seems like despite the docs claiming that the asset manager can handle uploading arbitrary files (i.e. by adding an arbitrary asset type), the actual asset manager code hardcodes file type image/* on the file input field of the file upload form https://gith...

artf

Good question, I think the issue is the OpenAssets command itself that should be renamed in OpenImageAssets (indeed it renders only images types). So, what you can try to do is to create another command (eg. a more generic one or just for...

tomichal

@artf I created the referenced pull request. I admit my motivation was my specific use case, but hopefully it was coded generically enough to be acceptable in the core editor codebase.

tomichal

... oh and just to clarify - another chunk of code written alongside this pull request resides in a custom plugin of my project. It's a plugin that essentially does the following:Customises the Link DOM component such that upon creating a...

#984March 28, 2018by davidwmemlink3 answers
1 reactions

Does grapesjs support load and modify previous saved work?

When I download a page, I see different html then I saw in the page. When I put the saved html back to the gjs, I see a some different page. How do I load the saved page and edit it next time?

wyx2000

I see ,use storage manager,

wyx2000

Same question here

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.

#982March 27, 2018by adam-gpc3 answers
3 reactions

Angular5 Support

this would be a feature

lakinmohapatra

We need angular 6 support

maxtacco

Please search issues before next time: https://github.com/artf/grapesjs/issues/220#issuecomment-322574774

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.

#981March 26, 2018by theleoni2 answers
0 reactions

[Question] Set "production" mode

Hi. Like the "Preview" mode, i'm like to show only the canvas (without bars on the side/top), without the eye icon at corner. Has any "production" mode or something like this? It's the editor.getHtml() close to this?

artf

No, there is no "production" command, but you can create easily one by checking the Preview.

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.

#980March 26, 2018by v8jupiter2 answers
0 reactions

[BUG] Related with task https://github.com/artf/grapesjs/issues/873

Hello, After restoring editor from db still have some part of bug present. It seems inside of script: function () traits will have old value. Short explanations: script: function() { var startfrom = '{[ startfrom ]}'; var endTxt = '{[ endText ]}'; In variable startfrom and endTxt we will have old values Video explanat...

artf

Thanks for the catch Vlad, it'll be fixed in 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.

#979March 24, 2018by anand-gopinath2 answers
0 reactions

Not able to align the custom component

@artf I created my custom component tyep and inserted vai BlockManager and if I'm applying the style propeties to that, is not working.

artf

I don't know what your Align stands for but Text align should be applied to the parent element

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.

#978March 23, 2018by anand-gopinath2 answers
0 reactions

Custom component type's children are not editable, selectable or highlightable

@artf I'm creating a custom component of Default type and the code looks like Even I refereed #260 and implemented as you suggested. Here, the custom div tag holds the functionalities of selectable, removable and highlightable etc. I need the child elements as well to be selectable and highlightable. How to do that? A...

artf

You can't use data-gjs- attributes if you attach them directly to the DOM, those attributes are parsed from the model level, so model.components('<div data-gjs-...')

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.

#977March 22, 2018by alimajed932 answers
0 reactions

[BUG] Video block - Controls option in case of Vimeo provider

Hello everyone, I noticed that when you select Vimeo as a provider in a video block, and uncheck the "Control" option, the controls will still be there and you cannot remove them. Regards.

artf

Seems like now it's only a feature for Pro accounts... https://help.vimeo.com/hc/en-us/articles/224969968-Embedding-videos-overview I'll remove it then

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.