Issue #630Opened December 12, 2017by kkuksin0 reactions

(question) Is it possible to set categories dinamically?

Question

Thanks for your component, I like it very much.

I have some dinamic blocks (I have tabs and when I change tab, I add group of blocks and remove the other group of blocks. The issue is that when I remove old blocks, I can't remove their categories. If I remove their categories with js ( document.querySelectorAll('.gjs-block-category') and then use .remove() for each of them ), that categories don't appear next time when I open the old tab.

Is there a way to change categories dinamically when I switch tabs and change blocks in BlockManager?

Answers (2)

artfDecember 13, 20170 reactions

@kkuksin you don't need to remove blocks/categories, you should just rerender blocks. We discussed about blocks and tabs here #499

lock[bot]September 18, 20190 reactions

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.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.