diff --git a/demo/index.html b/demo/index.html
index 084d74cea..8134f4fca 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -16,11 +16,11 @@
content="Vditor 支持三种所见即所得(wysiwyg)、即时渲染(ir)、分屏预览(sv)模式,支持大纲、数学公式、脑图、图表、流程图、甘特图、时序图、五线谱、多媒体、语音阅读、标题锚点、代码高亮及复制、graphviz 渲染。"/>
@@ -34,8 +34,8 @@
content="Vditor: ♏ An In-browser Markdown editor, support WYSIWYG, Instant Rendering (Typora-like) and Split View modes. 一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。"/>
diff --git a/demo/index.js b/demo/index.js
index 49198fff3..6cc32b6cc 100644
--- a/demo/index.js
+++ b/demo/index.js
@@ -83,7 +83,7 @@ const initVditor = (language) => {
type: 'text',
},
hint: {
- emojiPath: 'https://cdn.jsdelivr.net/npm/vditor@1.8.3/dist/images/emoji',
+ emojiPath: 'https://unpkg.com/vditor@1.8.3/dist/images/emoji',
emojiTail: '
设置常用表情',
emoji: {
'sd': '💔',
diff --git a/demo/jest-puppeteer.html b/demo/jest-puppeteer.html
index f4916720d..341af6106 100644
--- a/demo/jest-puppeteer.html
+++ b/demo/jest-puppeteer.html
@@ -15,11 +15,11 @@
content="Vditor 支持三种所见即所得(wysiwyg)、即时渲染(ir)、分屏预览(sv)模式,支持大纲、数学公式、脑图、图表、流程图、甘特图、时序图、五线谱、多媒体、语音阅读、标题锚点、代码高亮及复制、graphviz 渲染。"/>
-
-
-
-
-
+
+
+
+
+
@@ -32,8 +32,8 @@
content="Vditor: ♏ An In-browser Markdown editor, support WYSIWYG, Instant Rendering (Typora-like) and Split View modes. 一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。"/>
-
-
+
+
Vditor for jest puppeteer
diff --git a/demo/jest-puppeteer.js b/demo/jest-puppeteer.js
index e779077d9..e3fd8f3cf 100644
--- a/demo/jest-puppeteer.js
+++ b/demo/jest-puppeteer.js
@@ -27,7 +27,7 @@ window.vditorTest = new Vditor('vditorTest', {
},
},
hint: {
- emojiPath: 'https://cdn.jsdelivr.net/npm/vditor/dist/images/emoji',
+ emojiPath: 'https://unpkg.com/vditor/dist/images/emoji',
emojiTail: '
设置常用表情',
emoji: {
'+1': '👍',
diff --git a/demo/render.html b/demo/render.html
index 8ebe07b0e..17f805241 100644
--- a/demo/render.html
+++ b/demo/render.html
@@ -16,11 +16,11 @@
content="Vditor 支持三种所见即所得(wysiwyg)、即时渲染(ir)、分屏预览(sv)模式,支持大纲、数学公式、脑图、图表、流程图、甘特图、时序图、五线谱、多媒体、语音阅读、标题锚点、代码高亮及复制、graphviz 渲染。"/>
-
-
-
-
-
+
+
+
+
+
@@ -34,8 +34,8 @@
content="Vditor: ♏ An In-browser Markdown editor, support WYSIWYG, Instant Rendering (Typora-like) and Split View modes. 一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。"/>
-
-
+
+
-
-
+
+
diff --git a/src/ts/constants.ts b/src/ts/constants.ts
index 08c88b07a..13b8ec210 100644
--- a/src/ts/constants.ts
+++ b/src/ts/constants.ts
@@ -29,7 +29,7 @@ export abstract class Constants {
// ext
"solidity", "yul"
];
- public static readonly CDN = `https://cdn.jsdelivr.net/npm/vditor@${VDITOR_VERSION}`;
+ public static readonly CDN = `https://unpkg.com/vditor@${VDITOR_VERSION}`;
public static readonly MARKDOWN_OPTIONS = {
autoSpace: false,
codeBlockPreview: true,
diff --git a/src/ts/toolbar/Info.ts b/src/ts/toolbar/Info.ts
index 2fc71323d..f7d6d90df 100644
--- a/src/ts/toolbar/Info.ts
+++ b/src/ts/toolbar/Info.ts
@@ -12,7 +12,7 @@ export class Info extends MenuItem {
下一代的 Markdown 编辑器,为未来而构建
-
+
Vditor 是一款浏览器端的 Markdown 编辑器,支持所见即所得、即时渲染(类似 Typora)和分屏预览模式。