fix(fluent-editor): fix console warn (#1833)

This commit is contained in:
Kagol 2024-08-05 20:25:44 +08:00 committed by GitHub
parent e09599fb00
commit c2593f74df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 14 additions and 1 deletions

View File

@ -289,7 +289,7 @@ $arrowWidth: 5px; // 下拉框箭头宽度
}
.ql-picker-options {
width: 210px;
width: 180px;
padding: 15px 20px;
}

View File

@ -53,6 +53,7 @@ const registerModules = function () {
const accept = this.quill.options?.uploadOption?.imageAccept
inputFile.call(this, 'image', accept)
},
fullscreen: function() {}
}
},
'better-table': {

View File

@ -670,6 +670,11 @@ export default {
placeholder: 'Insert text here...',
maxLength: 'Text Length exceeds the Limit, max Length config is '
},
fluentEditor: {
undo: 'Undo',
redo: 'Redo',
lineheight: 'Line Height'
},
steps: {
done: 'Completed',
doing: 'Ongoing',

View File

@ -669,6 +669,11 @@ export default {
placeholder: '在此处插入文本...',
maxLength: '文本长度超过限制,支持的最大长度是 '
},
fluentEditor: {
undo: '撤销',
redo: '重做',
lineheight: '行高'
},
steps: {
done: '已完成',
doing: '进行中',

View File

@ -48,10 +48,12 @@ import {
IconCloudUpload,
IconFullscreen
} from '@opentiny/vue-icon'
import ImageViewer from '@opentiny/vue-image-viewer'
export default defineComponent({
name: $prefix + 'FluentEditor',
components: {
TinyImageViewer: ImageViewer,
IconEditorAlignCenter: IconEditorAlignCenter(),
IconEditorAlignLeft: IconEditorAlignLeft(),
IconEditorAlignRight: IconEditorAlignRight(),