calender stuff

This commit is contained in:
th committed 2026-04-08 14:04:23 +02:00
1 parent 8e78468743
commit e0fca064ae
15 files changed
+1716 -67

No files matched your search

+5 -1
View File
@@ -340,6 +340,10 @@ async function doSave(close, { animate = true } = {}) {
}
}
await window._reloadAll();
// Auto-sync if card has #termin or #geburtstag
if (data.body && /#(termin|geburtstag)\b/.test(data.body)) {
window._triggerSync?.();
}
if (close) {
closeModal({ animate });
if (returnToGallery) window._openGallery?.();
@@ -415,7 +419,7 @@ $('toggle-preview')?.addEventListener('click', () => {
if (state.previewVisible) {
applyEditorSplit();
} else {
if (editorPane) editorPane.style.flex = '';
if (editorPane) editorPane.style.flex = '1 1 0%';
preview.style.flex = '';
}
updatePreview();