mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 11:09:01 +08:00
update fuse.js to v6 and fix Suggestion mention search
This commit is contained in:
parent
92eb2c61cc
commit
74ed35b310
@ -134,7 +134,7 @@ export default {
|
|||||||
keys: ['name'],
|
keys: ['name'],
|
||||||
})
|
})
|
||||||
|
|
||||||
return fuse.search(query)
|
return fuse.search(query).map( it => item);
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
new Code(),
|
new Code(),
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
"eslint-plugin-import": "^2.18.2",
|
"eslint-plugin-import": "^2.18.2",
|
||||||
"eslint-plugin-vue": "6.0.1",
|
"eslint-plugin-vue": "6.0.1",
|
||||||
"file-loader": "^5.0.2",
|
"file-loader": "^5.0.2",
|
||||||
"fuse.js": "^3.4.6",
|
"fuse.js": "^6.0.0",
|
||||||
"glob": "^7.1.6",
|
"glob": "^7.1.6",
|
||||||
"html-webpack-plugin": "^3.2.0",
|
"html-webpack-plugin": "^3.2.0",
|
||||||
"http-proxy-middleware": "^0.20.0",
|
"http-proxy-middleware": "^0.20.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user