feat: 添加自定义功能按钮: 收藏至备忘快贴

This commit is contained in:
ZiuChen 2022-09-19 18:34:37 +08:00
parent e069f04b5b
commit 9177af7513

View File

@ -4,6 +4,13 @@
"database.maxage": 14, "database.maxage": 14,
"operation.shown": ["copy", "view", "collect", "remove"], "operation.shown": ["copy", "view", "collect", "remove"],
"operation.custom": [ "operation.custom": [
{
"id": "custom.1663583455000",
"title": "收藏到备忘快贴",
"icon": "📌",
"match": ["text", "image"],
"command": "redirect:添加到「备忘快贴」"
},
{ {
"id": "custom.1663490858", "id": "custom.1663490858",
"title": "讯飞OCR识别", "title": "讯飞OCR识别",
@ -11,6 +18,13 @@
"match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }], "match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }],
"command": "redirect:讯飞ocr" "command": "redirect:讯飞ocr"
}, },
{
"id": "custom.1663490864",
"title": "上传到图床",
"icon": "🚀",
"match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }],
"command": "redirect:上传到图床"
},
{ {
"id": "custom.1663490859", "id": "custom.1663490859",
"title": "百度搜索", "title": "百度搜索",
@ -51,13 +65,6 @@
"match": ["image"], "match": ["image"],
"command": "redirect:识别图片中二维码" "command": "redirect:识别图片中二维码"
}, },
{
"id": "custom.1663490864",
"title": "上传到图床",
"icon": "🚀",
"match": ["image", { "type": "file", "regex": ".(?:jpg|jpeg|png)$" }],
"command": "redirect:上传到图床"
},
{ {
"id": "custom.1663490865", "id": "custom.1663490865",
"title": "翻译", "title": "翻译",