This build was committed by a bot.

This commit is contained in:
github-actions[bot]
2026-04-10 03:02:58 +00:00
parent 160f1a5315
commit 6f8afc3cb7
3 changed files with 8 additions and 16 deletions

View File

@@ -1624,21 +1624,13 @@ var jars = {
};
var ensureJars = async () => {
if (jars.html && jars.extension) return jars;
const mod = await __vitePreload(() => import("https://medv.io/codejar/codejar.js"), []), CodeJar = mod.CodeJar || mod.default, hl = (e) => {
e.innerHTML = hljs.highlight(e.textContent, { language: "xml" }).value;
const mod = await __vitePreload(() => import("https://medv.io/codejar/codejar.js"), []), CodeJar = mod.CodeJar || mod.default;
const hl = (e) => {
const code = e.innerText;
e.innerHTML = hljs.highlight(code, { language: "xml" }).value;
};
if (!jars.html) jars.html = CodeJar(el.htmlEditor, hl, {
tab: " ",
catchTab: true,
preserveIndent: true,
addClosing: true
});
if (!jars.extension) jars.extension = CodeJar(el.extensionHtmlEditor, hl, {
tab: " ",
catchTab: true,
preserveIndent: true,
addClosing: true
});
if (!jars.html) jars.html = CodeJar(el.htmlEditor, hl, { tab: " " });
if (!jars.extension) jars.extension = CodeJar(el.extensionHtmlEditor, hl, { tab: " " });
return jars;
};
var openedHTML = false;