GrapesJS Issues

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

1,399 issues found

🔍 outdated
#651Dec 15, 2017by AH1N12 answers
0 reactions

Disable/hide Style Manager

I want user to provide a component's id before they could edit it's styles. To do so i need to disable/ hide Style Manager for some component untill user goves it's i. How can i do it?

artf

Hi @AH1N1 you could set up 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.

#650Dec 15, 2017by vishal50332 answers
1 reactions

Help Wanted : On Trait update

Hello, I have applied a href trait on image tag. Can you please tell me which event fires when href trait is changed for that. Thanks,

ryandeba

Hi @vishal5033, The component:update event should get triggered when a trait changes, but it's also going to fire when anything changes. You could check for the specific trait (href) by inspecting the changed property of the component obje...

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.

#649Dec 15, 2017by blackbirdzzz2 answers
0 reactions

How to get a clean css generated

Hi, Im looking to correct my css when i open my export editor i got some useless css you can see it in this picture : https://www.noelshack.com/2017-50-5-1513332047-screenshot-at-dec-15-11-00-34.png https://www.noelshack.com/2017-50-5-1513332047-screenshot-at-dec-15-11-00-03.png https://www.noelshack.com/2017-50-5-151...

artf

@blackbirdzzz we already discussed it here #307

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.

#648Dec 15, 2017by effectief2 answers
0 reactions

Panel may be moveable but prevent move, remove properties on the childs

Hi, How can I prevent move, remove properties on the childs? In this case (see code below) the user may move the parent (Template2), but all the childs may not move. I tried it with 'propagate', but these properties are applicable to the parent too. I need an option too aply properties specifically on childs. blockMan...

artf

Hi @effectief, create a wrapper for children with that propagate property

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.

#647Dec 15, 2017by HarshOB3 answers
0 reactions

Custom traits value is not set in Code

Hello, Here I used textbox trailt and whatever I write in input box I got the text in Code Viewer. As you can see progress= 80 But when I create Custom traits and select value from dropdown then I didn't get any value in my Code(HTML).

artf

@HarshOB show how you create the custom trait

HarshOB

Here is the code:

artf

@HarshOB try to see if the change actually triggers

#646Dec 15, 2017by tomichal2 answers
0 reactions

Images dropped onto image picker get uploaded twice

Set the asset manager with the dropzone option set to true (which is true by default), something like that: then drop an image onto the dropzone within the asset manager modal (from the 'gjs-blocks-basic' plugin), then the image gets uploaded to the backend twice. I think this is because the dropzone option turns on u...

artf

@tomichal correct, but dropzone was disabled by default in https://github.com/artf/grapesjs/releases/tag/v0.12.50 we've discussed that here #507

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.

#645Dec 14, 2017by luiz-brasil2 answers
1 reactions

Prefix .btn class from Buttons in editor with "gjs-"

.btn is commonly used in Bootstrap and in many themes or templates. The eye buttons of Layer manager, appear wrong because of .btn class name used, as we can see in this screenshot: <img width="387" alt="screen shot 2017-12-14 at 19 46 25" src="https://user-images.githubusercontent.com/1320235/34016036-8b91bc18-e107-1...

artf

Prefix added, will be available 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.

#643Dec 14, 2017by tlatforlz3 answers
3 reactions

How hide video block ?

Hi, I'm using Basic Extensions Extensions in Grapesjs. I want hide "Video Block" in this Extensions. How I can do it ? Thanks.

artf

Actually there is an option for the purpose

hoainam12k

Open src/blocks.js. Remove line 95 -> 109 (line 95 start with if (blocks.indexOf('video') >= 0) {)Open src/index.js, line 7: remove 'video', Rebuild package. I guess it will work!

tlatforlz

Thanks you @artf

#641Dec 14, 2017by ajaysofto3 answers
1 reactions

Media Query

Is there any way to apply css on specific width like (max-width:767px) so that we can make template responsive???

hoainam12k

Yes, just choose Device from top left and change the style. You can add custom breakpoint too, check API-Device-Manager page.

ajaysofto

Ok thanks for the message

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.

#640Dec 14, 2017by ajaysofto2 answers
0 reactions

Border Issue

We can give border on all four sides only what about if we have to give border only at bottom or top or left or right. Is there any property for that we need to define in code??

artf

Check this #575

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