mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-28 04:40:37 +00:00
no message
This commit is contained in:
parent
19bcc8f3b6
commit
5627baa1cc
2
public/js/build/382.js
vendored
2
public/js/build/382.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/635.js
vendored
2
public/js/build/635.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/673.js
vendored
2
public/js/build/673.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/739.js
vendored
2
public/js/build/739.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
d5c6e12afdf56c66
|
||||
6064a8e55cc8341c
|
||||
|
||||
@ -662,6 +662,12 @@ export default {
|
||||
attributes: {},
|
||||
insert: op.insert
|
||||
};
|
||||
try {
|
||||
// 替换 mention 对象为纯文本
|
||||
if (typeof obj.insert.mention === "object" && node.innerHTML) {
|
||||
obj.insert = node.innerHTML.replace(/<[^>]+>/g, "")
|
||||
}
|
||||
} catch (e) { }
|
||||
if (op.attributes) {
|
||||
['bold', 'strike', 'italic', 'underline', 'list', 'blockquote', 'link'].some(item => {
|
||||
if (op.attributes[item]) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user