fix(fluent-editor): fix console warn (#1833)
This commit is contained in:
parent
e09599fb00
commit
c2593f74df
|
@ -289,7 +289,7 @@ $arrowWidth: 5px; // 下拉框箭头宽度
|
|||
}
|
||||
|
||||
.ql-picker-options {
|
||||
width: 210px;
|
||||
width: 180px;
|
||||
padding: 15px 20px;
|
||||
}
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@ const registerModules = function () {
|
|||
const accept = this.quill.options?.uploadOption?.imageAccept
|
||||
inputFile.call(this, 'image', accept)
|
||||
},
|
||||
fullscreen: function() {}
|
||||
}
|
||||
},
|
||||
'better-table': {
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -669,6 +669,11 @@ export default {
|
|||
placeholder: '在此处插入文本...',
|
||||
maxLength: '文本长度超过限制,支持的最大长度是 '
|
||||
},
|
||||
fluentEditor: {
|
||||
undo: '撤销',
|
||||
redo: '重做',
|
||||
lineheight: '行高'
|
||||
},
|
||||
steps: {
|
||||
done: '已完成',
|
||||
doing: '进行中',
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue