GrapesJS Issues

3,464 parsed GitHub issues โ€” 370 solved ยท 90 open. Search, filter and explore battle-tested answers.

829 issues found

๐Ÿ” question
#2102June 27, 2019by Amir28281 answer
0 reactions

Views Quesion

Hello All, My question this time is, I added a new view which contains an image gallery and I would like to make it act like any other view. to be specific:change to active on click and show content of view while active.while other views are active hide my views content and change the button Css to not active. so far...

Amir2828

I dont know if there is a proper way to do it. I eventually managed to create this such a behavior by plain JS.

#2100June 26, 2019by fmr4111 answer
0 reactions

[QUESTIONS] change the class style (like color: white to color: red)

is it possible to change the class style (like color: white to color: red) in the trait, I create a new type, I want to change the style in onChange event. I have tried using setcustomparsercss but it doesn't work, Thanks

artf

I think you're looking for this: https://grapesjs.com/docs/api/css_composer.html#setrule eg. editor.CssComposer.setRule('.my-class', { color: 'red' });

#2097June 25, 2019by Amir28281 answer
0 reactions

New views question

Hello all, Is there is any simple way to add a new view right next to the style manager? I would like to create a new view that will show some custom images. Any help will be appreciated

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.

#2094June 24, 2019by fmr4112 answers
0 reactions

[QUESTIONS] add sector in first index

I want to add a sector, but in the top position (above the general), thank you

artf

Currently, it's not possible doing it via API (only via initial config), but I'll add an option in the next release, so you'd do:

fmr411

Thank you, now I delete and re-create the sector in the order

#2093June 23, 2019by alialrabi3 answers
0 reactions

Create Traits for navbar plugin

Hi Artf, i have two question: 1- i want to adding traits to Navbar component instead of default one and didnt know its type 2- i want to add fixed property to navbar ( position: fixed) in traits ( select dropdown ) , so i can select it or not to add it to navbar in editor, how can i implement it?

artf

Please read how to extend Components

alialrabi

i know that we can add traits by know the type of components to extend , but i dont how to extend navbar component , can u show me how to extend this component please ?

alialrabi

@artf

#2088June 19, 2019by revathitarento2 answers
1 reactions

[QUESTIONS] Can I build quiz and polling questions in grapeJS

I really like the features of grapeJS, it would be very helpful to know if I will be able to extend it with creating questions and answers, polling, Multiple choice questions and answers, Please guide me how to start with. It would be a great help

afdallah

I suggest you start with this https://github.com/artf/grapesjs-preset-webpage. And start building components from there

verdverm

So one significant factor is the requirement for third party scripts, is this the case in your situation?

#2087June 18, 2019by verdverm1 answer
0 reactions

General Questions should be asked else where

@artf I'm wondering if you would be interested in creating an alternative forum for question usage. Most of the issues seem to be question that would be better answered in a chat or forum, or by reading the docs... My issue is that it pollutes the issues section of the repository, when most are support or new user que...

artf

Thanks for the suggestion @verdverm IDK to be honest, we have already the Discord Chat but it's more community driven and I'm not so active there. IMHO I prefer using only one channel for the communication of questions/issues about the fra...

#2086June 18, 2019by megarg1 answer
0 reactions

[Question] Defining CSS in style manager

Can we define CSS in editor style manager. Primarily:What is "state" and "class" in editor style managerIf I define a custom class to a element. How to define CSS for that class. What is I want to assign the same class to another element so there should be a mechanism to define CSS at class level and not at element le...

artf

It works already like this, if you select a component with a class you will edit the CSS style assigned to that class and you can add it to other components to see the same style

#2085June 18, 2019by megarg1 answer
0 reactions

[QUESTION] how a modal/floating window comes on top of existing page on hover event

My Goal is to be able to create a page like (just an example). Want to create using editor and not code https://www.progressive.com/ I am not able to create the header row with grapesjs because of I cannot define how a modal/floating window comes on top of existing page on hover event regards -Ashish

artf

Start by reading how to implement custom components

#2084June 17, 2019by gobanana661 answer
0 reactions

[QUESTION] Is it possible to save templates by name, then provide user list of templates like files?

I've got firestore storage set up for remote storage, and currently it correctly saves and loads from storage. However, I'd like the user to be able to name the template and have it save with that name. Then provide the user with a list of saved templates that they can load up as they choose. Is this possible to do?

artf

It's not something built-in in the editor but for sure you can implement it by yourself