forked from opentiny/tiny-vue
feat(rich-text-editor): [rich-text-editor] Optimize international entries (#1999)
This commit is contained in:
parent
ff46d88ca6
commit
a3365063a0
|
@ -224,7 +224,9 @@ export default {
|
|||
img: 'img',
|
||||
color: 'color',
|
||||
table: 'table',
|
||||
backgroundColor: 'backgroundColor'
|
||||
backgroundColor: 'backgroundColor',
|
||||
localResources: 'Local resources',
|
||||
resourceLink: 'Resource Link'
|
||||
},
|
||||
calendar: {
|
||||
showType: {
|
||||
|
|
|
@ -227,7 +227,9 @@ export default {
|
|||
img: '图片',
|
||||
color: '颜色',
|
||||
table: '表格',
|
||||
backgroundColor: '文字背景色'
|
||||
backgroundColor: '文字背景色',
|
||||
localResources: '本地资源',
|
||||
resourceLink: '资源链接'
|
||||
},
|
||||
calendar: {
|
||||
showType: {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue