This commit is contained in:
2026-01-11 03:18:15 +01:00
parent 077d7a8d7a
commit da539b6ce1
2 changed files with 19 additions and 11 deletions

View File

@@ -267,17 +267,21 @@
container: '#gjs',
height: '100vh',
noticeOnUnload: 0,
            
            // 🛑 KRITISCHE KORREKTUR: storageManager aktivieren und konfigurieren
            storageManager: storageConf,
            
            plugins: pluginsList, 
            pluginsOpts: {},
            // 🛑 KRITISCHE ERGÄNZUNG: Verhindert das automatische Ausblenden leerer Kategorien
            blockManager: { 
                hideEmpty: false 
            }
        });
// 🛑 KRITISCHE KORREKTUR: storageManager aktivieren und konfigurieren
storageManager: storageConf,
plugins: pluginsList,
pluginsOpts: {},
// 🛑 KRITISCHE ERGÄNZUNG: Verhindert das automatische Ausblenden leerer Kategorien
blockManager: {
hideEmpty: false
},
domComponents: {
// Preserve plain text when editing text blocks.
textTags: ['p','span','div','br','b','strong','i','em','u','a','ul','ol','li']
}
});
        
        window.__gjs = ed;
        

View File

@@ -60,6 +60,10 @@
{ id: 'views', el: '.panel__views' },
]
},
domComponents: {
// Ensure plain text is preserved when editing text blocks.
textTags: ['p','span','div','br','b','strong','i','em','u','a','ul','ol','li']
},
// ... Fügen Sie hier weitere GrapesJS-Optionen ein (z.B. device buttons)
};