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', container: '#gjs',
height: '100vh', height: '100vh',
noticeOnUnload: 0, noticeOnUnload: 0,
            
            // 🛑 KRITISCHE KORREKTUR: storageManager aktivieren und konfigurieren // 🛑 KRITISCHE KORREKTUR: storageManager aktivieren und konfigurieren
            storageManager: storageConf, storageManager: storageConf,
            
            plugins: pluginsList,  plugins: pluginsList,
            pluginsOpts: {}, pluginsOpts: {},
            // 🛑 KRITISCHE ERGÄNZUNG: Verhindert das automatische Ausblenden leerer Kategorien // 🛑 KRITISCHE ERGÄNZUNG: Verhindert das automatische Ausblenden leerer Kategorien
            blockManager: {  blockManager: {
                hideEmpty: false  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;         window.__gjs = ed;
                 

View File

@@ -60,6 +60,10 @@
{ id: 'views', el: '.panel__views' }, { 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) // ... Fügen Sie hier weitere GrapesJS-Optionen ein (z.B. device buttons)
}; };