Unify textarea highlighting

This commit is contained in:
Jakub Vrana
2025-03-31 19:30:23 +02:00
parent 63ab8561be
commit cfde891ea4
3 changed files with 8 additions and 11 deletions

View File

@@ -82,6 +82,7 @@ for (const el of qsa('textarea')) {
}
});
setupSubmitHighlightInput(cm.getWrapperElement());
el.onchange = () => cm.setValue(el.value);
}
}
</script>