Commit 3f34e8c5 authored by Liyuan Li's avatar Liyuan Li
parent 5a1d5384
...@@ -8676,17 +8676,17 @@ ...@@ -8676,17 +8676,17 @@
} }
}, },
"vcmt": { "vcmt": {
"version": "1.1.10", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/vcmt/-/vcmt-1.1.10.tgz", "resolved": "https://registry.npmjs.org/vcmt/-/vcmt-1.2.0.tgz",
"integrity": "sha512-zx04s0R1vYN92zjFhDZbeWi/lapxl3KyeVtV6ccnRIPxYY4yteOFGcw82qTCTvehRjDL+x7zH8BBF5eDw9fv7g==", "integrity": "sha512-xjeg5yakR+DtQtogRDpRekYeZjq77QCkca8IgDN/RHjvFsNUBm3bHu/JaSJWae0csqFTNPDIa2BABm7amimKCQ==",
"requires": { "requires": {
"jquery": "^3.4.1" "jquery": "^3.4.1"
} }
}, },
"vditor": { "vditor": {
"version": "3.1.20", "version": "3.1.22",
"resolved": "https://registry.npmjs.org/vditor/-/vditor-3.1.20.tgz", "resolved": "https://registry.npmjs.org/vditor/-/vditor-3.1.22.tgz",
"integrity": "sha512-M1z9xIcjpP2mHyKJ9+a+5GaKXx0cNPyf58yMoJOJBSljGLVO3YNkMhqHUMfoZWiz9Ohf7DZTc4LctYPeGFsl5w==", "integrity": "sha512-7ez5DYT7pY00HGZnZJqAHvlca9e9yfh8nSDbnRnaAmKoFA5I3UrgmDOXP8cj5BHiJq2ZU7tkwDAglFEBc1q9CQ==",
"requires": { "requires": {
"diff-match-patch": "^1.0.4" "diff-match-patch": "^1.0.4"
} }
...@@ -9265,9 +9265,9 @@ ...@@ -9265,9 +9265,9 @@
} }
}, },
"yargs-parser": { "yargs-parser": {
"version": "13.1.1", "version": "13.1.2",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
"integrity": "sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==", "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
"dev": true, "dev": true,
"requires": { "requires": {
"camelcase": "^5.0.0", "camelcase": "^5.0.0",
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
"jquery": "^3.5.0", "jquery": "^3.5.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"uvstat": "^1.0.7", "uvstat": "^1.0.7",
"vcmt": "^1.1.10", "vcmt": "^1.2.0",
"vditor": "^3.1.20" "vditor": "^3.1.22"
} }
} }
This diff is collapsed.
...@@ -118,8 +118,6 @@ $.extend(SoloEditor.prototype, { ...@@ -118,8 +118,6 @@ $.extend(SoloEditor.prototype, {
'link', 'link',
'upload', 'upload',
'edit-mode', 'edit-mode',
'code-theme',
'content-theme',
{ {
name: 'more', name: 'more',
toolbar: [ toolbar: [
......
...@@ -109,11 +109,7 @@ window.Util = { ...@@ -109,11 +109,7 @@ window.Util = {
return true return true
}, },
callback: function () { callback: function () {
try { Util.parseMarkdown()
// TODO vditor@3.1.21 移除 try cache
Util.parseMarkdown()
} catch (e) {
}
if (typeof Util.uvstat === 'undefined') { if (typeof Util.uvstat === 'undefined') {
Util.uvstat = new Uvstat() Util.uvstat = new Uvstat()
} }
...@@ -310,7 +306,7 @@ window.Util = { ...@@ -310,7 +306,7 @@ window.Util = {
loadVditor: function (cb) { loadVditor: function (cb) {
$.ajax({ $.ajax({
method: 'GET', method: 'GET',
url: 'https://cdn.jsdelivr.net/npm/vditor@3.1.20/dist/index.min.js', url: 'https://cdn.jsdelivr.net/npm/vditor@3.1.22/dist/index.min.js',
dataType: 'script', dataType: 'script',
cache: true, cache: true,
success: () => { success: () => {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -180,8 +180,6 @@ $.extend(Page.prototype, { ...@@ -180,8 +180,6 @@ $.extend(Page.prototype, {
'emoji', 'emoji',
'link', 'link',
'edit-mode', 'edit-mode',
'code-theme',
'content-theme',
{ {
name: 'more', name: 'more',
toolbar: [ toolbar: [
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment