Issue #2094Opened June 24, 2019by fmr4110 reactions

[QUESTIONS] add sector in first index

Question

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

sector atas

Answers (2)

artfJuly 3, 20190 reactions

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:

editor.StyleManager.addSector('Test', {
	name: 'New sector',
	...
}, { at: 0 })
fmr411July 3, 20190 reactions

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

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.