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) => ({
label: `/${i}`,
kind: monaco.languages.CompletionItemKind.Keyword,
documentation: { value: `![${i}](//qq-face.vercel.app/gif/s${idMap[index]}.gif)`, isTrusted: true },
insertText: `![${i}](//qq-face.vercel.app/gif/s${idMap[index]}.gif =32x32) `,
documentation: { value: `![${i}](https://qq-face.vercel.app/gif/s${idMap[index]}.gif)`, isTrusted: true },
insertText: `![${i}](https://qq-face.vercel.app/gif/s${idMap[index]}.gif =32x32) `,
range,
}));
}

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

Loading…
Cancel
Save