Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(deprecation): replace deprecated highlightBlock with highlightElement (#1228)

Takuya Nabe74c82da41
diff --git a/frontend/src/directives/highlight.js b/frontend/src/directives/highlight.js
index 786f7e5e0f..0543098fdc 100644
--- a/frontend/src/directives/highlight.js
+++ b/frontend/src/directives/highlight.js
@@ -7,7 +7,7 @@ hljs.configure({
const directive = {
beforeMount(el) {
- hljs.highlightBlock(el);
+ hljs.highlightElement(el);
},
};