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