This commit is contained in:
2026-01-15 02:18:59 +01:00
parent 9ded56fd66
commit 3a7d0dbb84

View File

@@ -551,7 +551,6 @@
editor.__bridgeRteAllowClose = false; editor.__bridgeRteAllowClose = false;
}); });
} }
const mdl = modal.getModel && modal.getModel();
if (mdl && typeof mdl.on === 'function') { if (mdl && typeof mdl.on === 'function') {
const handler = () => { const handler = () => {
if (editor.__bridgeRteAllowClose) { if (editor.__bridgeRteAllowClose) {