1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-20 13:21:30 +02:00

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

@@ -46,6 +46,10 @@ function syntaxHighlighting(version, vendor) {
const pre = jush.textarea(tag);
if (pre) {
setupSubmitHighlightInput(pre);
tag.onchange = () => {
pre.textContent = tag.value;
pre.oninput();
};
}
}
}