From d330af827167d7725f42be77057d6118a410ee69 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sat, 23 Dec 2023 12:24:51 +0800 Subject: [PATCH] perf(theme): remove `copy-code` options --- theme/src/node/plugins.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/theme/src/node/plugins.ts b/theme/src/node/plugins.ts index b7db9c89..08a6efb8 100644 --- a/theme/src/node/plugins.ts +++ b/theme/src/node/plugins.ts @@ -146,12 +146,6 @@ export const setupPlugins = ( options.copyCode !== false ? copyCodePlugin({ selector: '.plume-content div[class*="language-"] pre', - locales: { - '/': { - copy: '复制成功', - hint: '复制代码', - }, - }, ...options.copyCode, }) : [],