+Mor almanach edit, finished

This commit is contained in:
Simon Martens
2026-01-09 13:04:18 +01:00
parent 69d8ec71b3
commit 5b75456439
7 changed files with 1691 additions and 1184 deletions

View File

@@ -253,6 +253,12 @@ export class DivManager extends HTMLElement {
// Small delay to ensure element is visible before measuring
setTimeout(() => {
textareas.forEach((textarea) => {
if (textarea.dataset.dmResizeBound !== "true") {
textarea.dataset.dmResizeBound = "true";
textarea.addEventListener("input", () => {
window.TextareaAutoResize(textarea);
});
}
window.TextareaAutoResize(textarea);
});
}, 10);