mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +00:00
fix: android 无法回删输入框内的@(mention)内容
This commit is contained in:
parent
327cdbc873
commit
e99e069e55
@ -47,7 +47,7 @@
|
|||||||
"photoswipe": "^5.2.8",
|
"photoswipe": "^5.2.8",
|
||||||
"postcss": "^8.4.5",
|
"postcss": "^8.4.5",
|
||||||
"quill": "^1.3.7",
|
"quill": "^1.3.7",
|
||||||
"quill-mention-hi": "^3.1.0-1",
|
"quill-mention-hi": "^3.1.0-2",
|
||||||
"resolve-url-loader": "^4.0.0",
|
"resolve-url-loader": "^4.0.0",
|
||||||
"sass": "~1.32.13",
|
"sass": "~1.32.13",
|
||||||
"sass-loader": "^12.6.0",
|
"sass-loader": "^12.6.0",
|
||||||
|
|||||||
@ -902,7 +902,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
formatDraft(value) {
|
formatDraft(value) {
|
||||||
return value?.replace(/<img[^>]*>/gi, `[${$A.L('图片')}]`).replace(/<[^>]*>/g, '') || null
|
return value?.replace(/<img[^>]*>/gi, `[${$A.L('图片')}]`)
|
||||||
|
.replace(/<[^>]*>/g, '')
|
||||||
|
.replace(/ /g, ' ')|| null
|
||||||
},
|
},
|
||||||
|
|
||||||
formatTodoNum(num) {
|
formatTodoNum(num) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user