From ed827c2d811982628daee6a3b418d69f165465c2 Mon Sep 17 00:00:00 2001 From: Elliott Tallis Date: Thu, 13 Apr 2023 03:26:43 +0100 Subject: [PATCH] Shiki: Make CodeBlock button texts not copyable (#864) --- src/plugins/shikiCodeblocks/shiki.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/shikiCodeblocks/shiki.css b/src/plugins/shikiCodeblocks/shiki.css index 2051183fd..32ef992a6 100644 --- a/src/plugins/shikiCodeblocks/shiki.css +++ b/src/plugins/shikiCodeblocks/shiki.css @@ -44,6 +44,7 @@ .shiki-btn { border-radius: 4px 4px 0 0; padding: 4px 8px; + user-select: none; } .shiki-btn ~ .shiki-btn {