From 679330663ae7b746a6f4c61357c2d422a2e7a472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=97=E8=A7=92=E5=B0=8F=E6=9E=97?= <1013335014@qq.com> Date: Wed, 31 Jan 2024 17:13:09 +0800 Subject: [PATCH] =?UTF-8?q?Demo=EF=BC=9A=E6=96=B0=E5=A2=9E=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E8=8A=82=E7=82=B9=E8=87=AA=E5=AE=9A=E4=B9=89=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E7=9A=84=E5=8F=B3=E9=94=AE=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/lang/en_us.js | 4 +++- web/src/lang/zh_cn.js | 4 +++- web/src/pages/Edit/components/Contextmenu.vue | 8 ++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js index 7a3624e7..09c3df7a 100644 --- a/web/src/lang/en_us.js +++ b/web/src/lang/en_us.js @@ -94,7 +94,9 @@ export default { fitCanvas: 'Fit canvas', removeImage: 'Remove image', removeHyperlink: 'Remove hyperlink', - removeNote: 'Remove note' + removeNote: 'Remove note', + removeCustomStyles: 'Remove custom styles', + removeAllNodeCustomStyles: 'Remove all node custom styles' }, count: { words: 'Words', diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js index 36adaab2..7896a1e2 100644 --- a/web/src/lang/zh_cn.js +++ b/web/src/lang/zh_cn.js @@ -94,7 +94,9 @@ export default { fitCanvas: '适应画布', removeImage: '移除图片', removeHyperlink: '移除超链接', - removeNote: '移除备注' + removeNote: '移除备注', + removeCustomStyles: '一键去除自定义样式', + removeAllNodeCustomStyles: '一键去除所有节点自定义样式' }, count: { words: '字数', diff --git a/web/src/pages/Edit/components/Contextmenu.vue b/web/src/pages/Edit/components/Contextmenu.vue index c84157a6..3cbf4858 100644 --- a/web/src/pages/Edit/components/Contextmenu.vue +++ b/web/src/pages/Edit/components/Contextmenu.vue @@ -88,6 +88,9 @@
{{ $t('contextmenu.removeNote') }}
+
+ {{ $t('contextmenu.removeCustomStyles') }} +