Views Quesion
I dont know if there is a proper way to do it. I eventually managed to create this such a behavior by plain JS.
Read full answer below ↓Question
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 I tried to add the classes manually by getting the item and using addClass or by Js selectors but It works for half a second and then crashes on the reason of undefined.
Any help will be appreciated .
Answers (1)
I dont know if there is a proper way to do it. I eventually managed to create this such a behavior by plain JS.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2097
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 s...
Issue #2865
[QUESTION] enable 'view components' button on panel by default
this button is currently off by default. so you have to turn it on every time, which is not obvious to everyone. how do you make it active...
Issue #2744
[QUESTION] Disable a block drag&drop
Hello everyone, I would like to make forbidden the drop of one block before another specific one. Context : i've create a new trait for som...
Issue #1639
[Question]: Would it be possible to have change settings under style manager in a way that it has href when a link is created?
I'm using preset newsletter with built-in RTE (do not want to use ck editor like the demo) In order to make any text to link, i need to cli...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Related tutorials
In-depth guides on the same topic.
Tutorial
10 Mistakes When Building a Visual Editor (And How to Avoid Them)
Visual editors are powerful tools — they enable non-technical users to create websites, emails, landing pages, and applications without writing code
Tutorial
GJS Market 2.0 - Donations, Tracking, Labels and Better Product Discovery
We’ve rolled out a new set of GrapesJS marketplace updates across GJS Market, focused on improving how creators distribute products
Tutorial
GrapesJS Document Blocky — Build Professional Documents with Drag-and-Drop Ease
If you’ve ever tried to build invoices, reports, proposals, or client documents using a drag-and-drop editor — you know how tricky it
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.