Commit faff9caa authored by Liyuan Li's avatar Liyuan Li

vditor

parent 91ed6d04
{ {
"name": "solo", "name": "solo",
"version": "4.0.0", "version": "3.9.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
...@@ -8664,17 +8664,17 @@ ...@@ -8664,17 +8664,17 @@
} }
}, },
"vcmt": { "vcmt": {
"version": "1.1.3", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/vcmt/-/vcmt-1.1.3.tgz", "resolved": "https://registry.npmjs.org/vcmt/-/vcmt-1.1.4.tgz",
"integrity": "sha512-4Mk4OKFaRSHEsNkynq4S8mgtFBfcmtogNVhaJ0DNEb4Z9XQxdMNQyzCiSAwgaxhz66p1j71XI96EAcAThg2Mow==", "integrity": "sha512-SjNMjmkE/JwZxHNhl9AMmEPSbgHyzG1azx1qXUjpzRUp71X9/G4mMNNcvgTv75XoupTe6IjdQXy/JBjsC+/Kcw==",
"requires": { "requires": {
"jquery": "^3.4.1" "jquery": "^3.4.1"
} }
}, },
"vditor": { "vditor": {
"version": "3.0.0", "version": "3.0.8",
"resolved": "https://registry.npmjs.org/vditor/-/vditor-3.0.0.tgz", "resolved": "https://registry.npmjs.org/vditor/-/vditor-3.0.8.tgz",
"integrity": "sha512-BymtwIZySlNtTYtKORYpf8S3TM0u0R5aPg5Z8EB5UysZhcsz25f4Vji6cr90qu0LUzCvTI+7c67tSmxjqTZktg==", "integrity": "sha512-LBKiXi6ZZNJgGvvK/TIId6h1xKuL+GTFU/sGzEYbKdGIAbpGLAJIfVJzSCWGPZZHRSycoalSD8abnEunF+y35Q==",
"requires": { "requires": {
"diff-match-patch": "^1.0.4" "diff-match-patch": "^1.0.4"
} }
......
{ {
"name": "solo", "name": "solo",
"version": "4.0.0", "version": "3.9.0",
"description": " 一款小而美的博客系统,专为程序员设计。", "description": " 一款小而美的博客系统,专为程序员设计。",
"homepage": "https://github.com/88250/solo", "homepage": "https://github.com/88250/solo",
"repository": { "repository": {
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
"jquery": "^3.4.1", "jquery": "^3.4.1",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"uvstat": "^1.0.7", "uvstat": "^1.0.7",
"vcmt": "^1.1.3", "vcmt": "^1.1.4",
"vditor": "^3.0.0" "vditor": "^3.0.8"
} }
} }
This diff is collapsed.
...@@ -64,7 +64,9 @@ $.extend(SoloEditor.prototype, { ...@@ -64,7 +64,9 @@ $.extend(SoloEditor.prototype, {
const options = { const options = {
typewriterMode: this.conf.typewriterMode, typewriterMode: this.conf.typewriterMode,
cache: true, cache: {
enable: true,
},
tab: '\t', tab: '\t',
preview: { preview: {
delay: 500, delay: 500,
......
...@@ -305,7 +305,7 @@ window.Util = { ...@@ -305,7 +305,7 @@ window.Util = {
loadVditor: function (cb) { loadVditor: function (cb) {
$.ajax({ $.ajax({
method: 'GET', method: 'GET',
url: 'https://cdn.jsdelivr.net/npm/vditor@3.0.0/dist/index.min.js', url: 'https://cdn.jsdelivr.net/npm/vditor@3.0.8/dist/index.min.js',
dataType: 'script', dataType: 'script',
cache: true, cache: true,
success: () => { success: () => {
......
This diff is collapsed.
This diff is collapsed.
...@@ -18,12 +18,13 @@ ...@@ -18,12 +18,13 @@
# #
# Description: Solo language configurations(en_US). # Description: Solo language configurations(en_US).
# Version: 2.40.0.0, Feb 27, 2020 # Version: 2.41.0.0, Apr 2, 2020
# Author: Liang Ding # Author: Liang Ding
# Author: Liyuan Li # Author: Liyuan Li
# Author: Dongxu Wang # Author: Dongxu Wang
# #
viewLogLabel=View Log
categoryURIMustBeASCIILabel=Category URI only must be English char, digit or symbol, for example: programming-life categoryURIMustBeASCIILabel=Category URI only must be English char, digit or symbol, for example: programming-life
inlineMathAllowDigitAfterOpenMarkerLabel=Whether inline math formulas allow a starting $ followed by a number inlineMathAllowDigitAfterOpenMarkerLabel=Whether inline math formulas allow a starting $ followed by a number
chinesePunctLabel=Chinese punctuation followed by English comma and period are replaced with Chinese corresponding punctuation chinesePunctLabel=Chinese punctuation followed by English comma and period are replaced with Chinese corresponding punctuation
......
...@@ -18,12 +18,13 @@ ...@@ -18,12 +18,13 @@
# #
# Description: Solo default language configurations(zh_CN). # Description: Solo default language configurations(zh_CN).
# Version: 2.40.0.0, Feb 27, 2020 # Version: 2.41.0.0, Apr 2, 2020
# Author: Liang Ding # Author: Liang Ding
# Author: Liyuan Li # Author: Liyuan Li
# Author: Dongxu Wang # Author: Dongxu Wang
# #
viewLogLabel=\u65E5\u5FD7\u6D4F\u89C8
categoryURIMustBeASCIILabel=\u5206\u7C7B URI \u53EA\u80FD\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7B26\u53F7\uFF0C\u4F8B\u5982\uFF1Aprogramming-life categoryURIMustBeASCIILabel=\u5206\u7C7B URI \u53EA\u80FD\u4F7F\u7528\u82F1\u6587\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7B26\u53F7\uFF0C\u4F8B\u5982\uFF1Aprogramming-life
inlineMathAllowDigitAfterOpenMarkerLabel=\u5185\u8054\u6570\u5B66\u516C\u5F0F\u662F\u5426\u5141\u8BB8\u8D77\u59CB $ \u540E\u7D27\u8DDF\u6570\u5B57 inlineMathAllowDigitAfterOpenMarkerLabel=\u5185\u8054\u6570\u5B66\u516C\u5F0F\u662F\u5426\u5141\u8BB8\u8D77\u59CB $ \u540E\u7D27\u8DDF\u6570\u5B57
chinesePunctLabel=\u4E2D\u6587\u540E\u8DDF\u82F1\u6587\u9017\u53F7\u53E5\u53F7\u7B49\u6807\u70B9\u66FF\u6362\u4E3A\u4E2D\u6587\u5BF9\u5E94\u6807\u70B9 chinesePunctLabel=\u4E2D\u6587\u540E\u8DDF\u82F1\u6587\u9017\u53F7\u53E5\u53F7\u7B49\u6807\u70B9\u66FF\u6362\u4E3A\u4E2D\u6587\u5BF9\u5E94\u6807\u70B9
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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