aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2025-03-08 00:00:00 +0000
committertdro <tdro@noreply.example.com>2025-03-08 00:00:00 +0000
commitf57bd752ac2cefe9afdc7c869a2810883dfcec75 (patch)
tree05f5c8d15883e6373e43083a9841fc095d0c783a
parent00f6eec8836c8fe50956c6ab47980ec267c291e1 (diff)
downloadcanory-f57bd752ac2cefe9afdc7c869a2810883dfcec75.tar.gz
canory-f57bd752ac2cefe9afdc7c869a2810883dfcec75.tar.bz2
canory-f57bd752ac2cefe9afdc7c869a2810883dfcec75.zip
themes/default/layouts/_default/_markup/render-codeblock: Set negative tab index
-rw-r--r--themes/default/layouts/_default/_markup/render-codeblock.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/_default/_markup/render-codeblock.html b/themes/default/layouts/_default/_markup/render-codeblock.html
index ab9a786..922a7ff 100644
--- a/themes/default/layouts/_default/_markup/render-codeblock.html
+++ b/themes/default/layouts/_default/_markup/render-codeblock.html
@@ -11,7 +11,7 @@
<a href="#{{ $id }}">{{ $type }}</a>
</language-label>
</header>
- <code-content contenteditable="true" spellcheck="false">
+ <code-content tabindex="-1" contenteditable="true" spellcheck="false">
{{- replace $highlight
`class="lnlinks"`
`contenteditable="false" class="lnlinks"`