mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Syntax highlighting: Hook AJAX
This commit is contained in:
@@ -41,6 +41,7 @@ function syntaxHighlighting(version, vendor) {
|
||||
jush.custom_links = jushLinks;
|
||||
}
|
||||
jush.highlight_tag('code', 0);
|
||||
adminerHighlighter = els => jush.highlight_tag(els, 0);
|
||||
for (const tag of qsa('textarea')) {
|
||||
if (/(^|\s)jush-/.test(tag.className)) {
|
||||
const pre = jush.textarea(tag);
|
||||
|
Reference in New Issue
Block a user