Block Elemente hinzugefügt
This commit is contained in:
@@ -1216,11 +1216,11 @@
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
if (!B.DISABLE_EDITOR_EXTENSIONS) {
|
if (!B.DISABLE_EDITOR_EXTENSIONS && !B.DISABLE_EDITOR_BEHAVIOR) {
|
||||||
ensureCommandStubs(ed);
|
ensureCommandStubs(ed);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!B.DISABLE_EDITOR_EXTENSIONS) {
|
if (!B.DISABLE_EDITOR_EXTENSIONS && !B.DISABLE_EDITOR_BEHAVIOR) {
|
||||||
try {
|
try {
|
||||||
const textTags = ['p','span','div','br','b','strong','i','em','u','a','ul','ol','li'];
|
const textTags = ['p','span','div','br','b','strong','i','em','u','a','ul','ol','li'];
|
||||||
if (ed.Config) {
|
if (ed.Config) {
|
||||||
@@ -1242,7 +1242,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!B.DISABLE_EDITOR_EXTENSIONS) {
|
if (!B.DISABLE_EDITOR_EXTENSIONS && !B.DISABLE_EDITOR_BEHAVIOR) {
|
||||||
setupTableBuilder(ed);
|
setupTableBuilder(ed);
|
||||||
setupPlainTextPreserver(ed);
|
setupPlainTextPreserver(ed);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,8 @@ if ($fontSources) {
|
|||||||
window.__editorMode = "<?=htmlspecialchars($mode, ENT_QUOTES)?>";
|
window.__editorMode = "<?=htmlspecialchars($mode, ENT_QUOTES)?>";
|
||||||
window.__editorId = <?= $id ?>;
|
window.__editorId = <?= $id ?>;
|
||||||
window.BridgeParts = window.BridgeParts || {};
|
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 = window.BridgeParts.LOG_CONFIG || {};
|
||||||
window.BridgeParts.LOG_CONFIG.INFO_ENABLED = false;
|
window.BridgeParts.LOG_CONFIG.INFO_ENABLED = false;
|
||||||
window.BridgeParts.LOG_CONFIG.DATA_ENABLED = false;
|
window.BridgeParts.LOG_CONFIG.DATA_ENABLED = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user