This commit is contained in:
2026-02-04 02:04:19 +01:00
parent 5b359b0a16
commit 4572024d6a
2 changed files with 15 additions and 1 deletions

View File

@@ -1 +1 @@
1.2.41
1.2.42

View File

@@ -464,6 +464,20 @@
return;
}
// Sicherstellen, dass ggf. aktive Text-Edits vor dem Speichern synchronisiert werden
try {
const selected = editor.getSelected && editor.getSelected();
const view = selected && selected.view;
if (view && typeof view.disableEditing === 'function') {
view.disableEditing();
}
if (selected && view && view.el && typeof selected.is === 'function' && selected.is('text')) {
selected.set('content', view.el.innerHTML);
}
} catch (e) {
// kein Block, falls Sync nicht moeglich
}
// 1. Daten extrahieren
const fontCss = (B && typeof B.RTE_FONT_FACE_CSS === 'string' && B.RTE_FONT_FACE_CSS.trim())
? B.RTE_FONT_FACE_CSS.trim()