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.
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' });
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.
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 ?
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?
@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...
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
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
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