asdasd
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user