diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js index 9b257f11..bc621a1d 100644 --- a/web/src/lang/en_us.js +++ b/web/src/lang/en_us.js @@ -98,7 +98,8 @@ export default { removeHyperlink: 'Remove hyperlink', removeNote: 'Remove note', removeCustomStyles: 'Remove custom styles', - removeAllNodeCustomStyles: 'Remove all node custom styles' + removeAllNodeCustomStyles: 'Remove all node custom styles', + exportNodeToPng: 'Export node to png' }, count: { words: 'Words', diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js index 16b377cc..5fe56822 100644 --- a/web/src/lang/zh_cn.js +++ b/web/src/lang/zh_cn.js @@ -98,7 +98,8 @@ export default { removeHyperlink: '移除超链接', removeNote: '移除备注', removeCustomStyles: '一键去除自定义样式', - removeAllNodeCustomStyles: '一键去除所有节点自定义样式' + removeAllNodeCustomStyles: '一键去除所有节点自定义样式', + exportNodeToPng: '导出该节点为图片' }, count: { words: '字数', diff --git a/web/src/pages/Edit/components/Contextmenu.vue b/web/src/pages/Edit/components/Contextmenu.vue index 6caa2cca..803c07e0 100644 --- a/web/src/pages/Edit/components/Contextmenu.vue +++ b/web/src/pages/Edit/components/Contextmenu.vue @@ -91,6 +91,9 @@
{{ $t('contextmenu.removeCustomStyles') }}
+
+ {{ $t('contextmenu.exportNodeToPng') }} +