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