feat(rich-text-editor): [rich-text-editor] Optimize international entries (#1999)

This commit is contained in:
东风使命必达 2024-08-28 02:21:38 -07:00 committed by GitHub
parent ff46d88ca6
commit a3365063a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 4 deletions

View File

@ -224,7 +224,9 @@ export default {
img: 'img',
color: 'color',
table: 'table',
backgroundColor: 'backgroundColor'
backgroundColor: 'backgroundColor',
localResources: 'Local resources',
resourceLink: 'Resource Link'
},
calendar: {
showType: {

View File

@ -227,7 +227,9 @@ export default {
img: '图片',
color: '颜色',
table: '表格',
backgroundColor: '文字背景色'
backgroundColor: '文字背景色',
localResources: '本地资源',
resourceLink: '资源链接'
},
calendar: {
showType: {

View File

@ -69,10 +69,10 @@
<div class="img-option">
<div class="img-item">
<input @change="handleChange" id="img-btn" type="file" accept="image/*, video/*" />
<label for="img-btn">本地资源</label>
<label for="img-btn">{{ t('ui.richTextEditor.localResources') }}</label>
</div>
<div @click.stop="handleChange(null)" class="img-item">
<div>资源链接</div>
<div>{{ t('ui.richTextEditor.resourceLink') }}</div>
</div>
</div>
</button>