ui: fix emoji source

pull/376/head
undefined 2 years ago
parent 4ac9f8fef7
commit 17ddb9867a

@ -168,8 +168,8 @@ function qqEmoji(range) {
return qqEmojies.map((i, index) => ({ return qqEmojies.map((i, index) => ({
label: `/${i}`, label: `/${i}`,
kind: monaco.languages.CompletionItemKind.Keyword, kind: monaco.languages.CompletionItemKind.Keyword,
documentation: { value: `![${i}](//qq-face.vercel.app/gif/s${idMap[index]}.gif)`, isTrusted: true }, documentation: { value: `![${i}](https://qq-face.vercel.app/gif/s${idMap[index]}.gif)`, isTrusted: true },
insertText: `![${i}](//qq-face.vercel.app/gif/s${idMap[index]}.gif =32x32) `, insertText: `![${i}](https://qq-face.vercel.app/gif/s${idMap[index]}.gif =32x32) `,
range, range,
})); }));
} }

@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/ui-default", "name": "@hydrooj/ui-default",
"version": "4.37.24", "version": "4.37.25",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "hydro.js", "main": "hydro.js",

Loading…
Cancel
Save