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:
@@ -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();
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user