mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
perf: 聊天输入框粘贴格式优化
This commit is contained in:
parent
106c011f6b
commit
8ca021df6a
@ -163,7 +163,7 @@
|
||||
</div>
|
||||
<div class="chat-input-popover-item" @click="onSend('normal')">
|
||||
<i class="taskfont"></i>
|
||||
{{$L('正常发送')}}
|
||||
{{$L('普通格式发送')}}
|
||||
</div>
|
||||
</EPopover>
|
||||
</li>
|
||||
@ -273,7 +273,7 @@ export default {
|
||||
toolbar: {
|
||||
type: Array,
|
||||
default: () => {
|
||||
return ['bold', 'strike', 'italic', 'underline', {'list': 'ordered'}, {'list': 'bullet'}, 'blockquote', 'code-block']
|
||||
return ['bold', 'strike', 'italic', 'underline', 'blockquote', {'list': 'ordered'}, {'list': 'bullet'}]
|
||||
},
|
||||
},
|
||||
maxlength: {
|
||||
@ -637,6 +637,7 @@ export default {
|
||||
// Options
|
||||
this._options = Object.assign({
|
||||
theme: 'bubble',
|
||||
formats: ['bold', 'strike', 'italic', 'underline', 'blockquote', 'list', 'link', 'image'],
|
||||
readOnly: false,
|
||||
placeholder: this.placeholder,
|
||||
modules: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user