Browse Source

:bug: emoji path

Van 6 years ago
parent
commit
68104ed872
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      src/ts/util/Options.ts

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "vditor",
-  "version": "0.2.2",
+  "version": "0.2.3",
   "description": "A markdown editor written in TypeScript",
   "author": " Vanessa <[email protected]> (http://vanessa.b3log.org)",
   "homepage": "https://hacpai.com/cr",

+ 1 - 1
src/ts/util/Options.ts

@@ -15,7 +15,7 @@ export class Options {
                 "cold_sweat": "😰",
                 "heart": "❤️",
             },
-            emojiPath: "https://cdn.jsdelivr.net/npm/vditor@latest/src/assets/emoji/",
+            emojiPath: "https://cdn.jsdelivr.net/npm/vditor@latest/src/assets/emoji",
         },
         lang: "zh_CN",
         placeholder: "",