Block Elemente hinzugefügt

This commit is contained in:
2026-01-16 02:30:46 +01:00
parent cfa55c9ea6
commit 4b917091bd
2 changed files with 5 additions and 4 deletions

View File

@@ -1216,11 +1216,11 @@
},
});
};
if (!B.DISABLE_EDITOR_EXTENSIONS) {
if (!B.DISABLE_EDITOR_EXTENSIONS && !B.DISABLE_EDITOR_BEHAVIOR) {
ensureCommandStubs(ed);
}
if (!B.DISABLE_EDITOR_EXTENSIONS) {
if (!B.DISABLE_EDITOR_EXTENSIONS && !B.DISABLE_EDITOR_BEHAVIOR) {
try {
const textTags = ['p','span','div','br','b','strong','i','em','u','a','ul','ol','li'];
if (ed.Config) {
@@ -1242,7 +1242,7 @@
}
}
if (!B.DISABLE_EDITOR_EXTENSIONS) {
if (!B.DISABLE_EDITOR_EXTENSIONS && !B.DISABLE_EDITOR_BEHAVIOR) {
setupTableBuilder(ed);
setupPlainTextPreserver(ed);
}

View File

@@ -49,7 +49,8 @@ if ($fontSources) {
window.__editorMode = "<?=htmlspecialchars($mode, ENT_QUOTES)?>";
window.__editorId = <?= $id ?>;
window.BridgeParts = window.BridgeParts || {};
window.BridgeParts.DISABLE_EDITOR_EXTENSIONS = true;
window.BridgeParts.DISABLE_EDITOR_EXTENSIONS = false;
window.BridgeParts.DISABLE_EDITOR_BEHAVIOR = true;
window.BridgeParts.LOG_CONFIG = window.BridgeParts.LOG_CONFIG || {};
window.BridgeParts.LOG_CONFIG.INFO_ENABLED = false;
window.BridgeParts.LOG_CONFIG.DATA_ENABLED = false;