commit
This commit is contained in:
28
public/assets/js/bridge/category-config.js WORKED
Normal file
28
public/assets/js/bridge/category-config.js WORKED
Normal file
@@ -0,0 +1,28 @@
|
||||
/* /assets/js/bridge/category-config.js (FINAL: Zentrale Konfiguration) */
|
||||
(function(w){
|
||||
var B = w.BridgeParts = w.BridgeParts || {};
|
||||
|
||||
/**
|
||||
* Zentrale Konfiguration für Block-Kategorien und deren Sortierprioritäten.
|
||||
*/
|
||||
B.CATEGORY_CONFIG = {
|
||||
// Prio 1
|
||||
'lib-templates': { label:'Bibliothek: Templates (Ref)', ord: 1, open: true },
|
||||
|
||||
// Prio 2 (Custom)A
|
||||
'custom': { label:'Custom', ord: 2, open: true },
|
||||
'custom-fix': { label:'Custom', ord: 2, open: true },
|
||||
'custom-flex': { label:'Custom', ord: 2, open: true },
|
||||
|
||||
// Prio 3 (Bausteine)
|
||||
'bausteine': { label:'Bausteine', ord: 3, open: true },
|
||||
|
||||
// Prio 4 (Bibliothek)
|
||||
'mysnips': { label:'Bibliothek', ord: 4, open: true },
|
||||
|
||||
// INTERNE (Werden später im Plugin auf Prio 2 umgeleitet und sortiert)
|
||||
'lib-sections': { label:'Bibliothek: Sections', ord: 99, open: true },
|
||||
'lib-blocks': { label:'Bibliothek: Blöcke', ord: 99, open: true },
|
||||
};
|
||||
|
||||
})(window);
|
||||
Reference in New Issue
Block a user