Skip to content

Commit

Permalink
⬆️ vditor
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Oct 12, 2020
1 parent 1c9b473 commit a113f05
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 26 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -54,7 +54,7 @@
"jquery": "^3.5.1",
"nprogress": "^0.2.0",
"uvstat": "^1.0.8",
"vcmt": "^1.2.10",
"vditor": "^3.5.3"
"vcmt": "^1.2.11",
"vditor": "^3.5.5"
}
}
2 changes: 1 addition & 1 deletion src/main/resources/admin/admin-index.ftl
Expand Up @@ -160,7 +160,7 @@
</div>
</div>
<#include "admin-label.ftl">
<script src="https://cdn.jsdelivr.net/npm/vditor@3.5.3/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vditor@3.5.5/dist/index.min.js"></script>
<script src="${staticServePath}/js/admin/admin.min.js?${staticResourceVersion}"></script>
${plugins}
<script>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/common-template/macro-common_head.ftl
@@ -1 +1 @@
<#-- Solo - A small and beautiful blogging system written in Java. Copyright (c) 2010-present, b3log.org Solo is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.--><#macro head title description=''><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/><meta name="theme-color" content="#3b3e43"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="format-detection" content="telephone=no"/><title>${title}</title> <#if description != ''><meta name="description" content="${description}"/><meta property="og:description" content="${description}"/> <#elseif metaDescription??><meta name="description" content="${metaDescription}"/><meta property="og:description" content="${metaDescription}"/> <#else> <#if !blogSubtitle??> <#assign blogSubtitle = ''> </#if><meta name="description" content="${blogTitle?html}。${blogSubtitle?html}"/><meta property="og:description" content="${blogTitle?html}。${blogSubtitle?html}"/> </#if> <#if metaKeywords??> <meta name="keywords" content="${metaKeywords}"/> </#if><link rel="dns-prefetch" href="${staticServePath}"/><link rel="dns-prefetch" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="${staticServePath}"><link rel="icon" type="image/png" href="${faviconURL}"/><link rel="apple-touch-icon" href="${faviconURL}"><link rel="shortcut icon" type="image/x-icon" href="${faviconURL}"><meta name="copyright" content="B3log"/><meta http-equiv="Window-target" content="_top"/><meta property="og:locale" content="${langLabel}"/><meta property="og:title" content="${title}"/><meta property="og:site_name" content="${blogTitle?html}"/><meta property="og:url" content="${servePath}${request.requestURI}<#if request.queryString??>?${request.queryString}</#if>"/><meta property="og:image" content="${faviconURL}"/><link rel="search" type="application/opensearchdescription+xml" title="${title}" href="/opensearch.xml"><link href="${servePath}/rss.xml" title="RSS" type="application/rss+xml" rel="alternate"/><link rel="manifest" href="${servePath}/manifest.json"> <#if paginationCurrentPageNum??> <#if paginationCurrentPageNum == 1> <link rel="canonical" href="${servePath}${request.requestURI}"> <#else> <link rel="canonical" href="${servePath}${request.requestURI}<#if request.queryString??>?${request.queryString}</#if>"> </#if> <#else> <link rel="canonical" href="${servePath}${request.requestURI}"> </#if> <#nested><#if htmlHead??> ${htmlHead}</#if><script src="https://cdn.jsdelivr.net/npm/vditor@3.5.3/dist/js/icons/ant.js" async="" id="vditorIconScript"></script></#macro>
<#-- Solo - A small and beautiful blogging system written in Java. Copyright (c) 2010-present, b3log.org Solo is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.--><#macro head title description=''><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/><meta name="theme-color" content="#3b3e43"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="format-detection" content="telephone=no"/><title>${title}</title> <#if description != ''><meta name="description" content="${description}"/><meta property="og:description" content="${description}"/> <#elseif metaDescription??><meta name="description" content="${metaDescription}"/><meta property="og:description" content="${metaDescription}"/> <#else> <#if !blogSubtitle??> <#assign blogSubtitle = ''> </#if><meta name="description" content="${blogTitle?html}。${blogSubtitle?html}"/><meta property="og:description" content="${blogTitle?html}。${blogSubtitle?html}"/> </#if> <#if metaKeywords??> <meta name="keywords" content="${metaKeywords}"/> </#if><link rel="dns-prefetch" href="${staticServePath}"/><link rel="dns-prefetch" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="${staticServePath}"><link rel="icon" type="image/png" href="${faviconURL}"/><link rel="apple-touch-icon" href="${faviconURL}"><link rel="shortcut icon" type="image/x-icon" href="${faviconURL}"><meta name="copyright" content="B3log"/><meta http-equiv="Window-target" content="_top"/><meta property="og:locale" content="${langLabel}"/><meta property="og:title" content="${title}"/><meta property="og:site_name" content="${blogTitle?html}"/><meta property="og:url" content="${servePath}${request.requestURI}<#if request.queryString??>?${request.queryString}</#if>"/><meta property="og:image" content="${faviconURL}"/><link rel="search" type="application/opensearchdescription+xml" title="${title}" href="/opensearch.xml"><link href="${servePath}/rss.xml" title="RSS" type="application/rss+xml" rel="alternate"/><link rel="manifest" href="${servePath}/manifest.json"> <#if paginationCurrentPageNum??> <#if paginationCurrentPageNum == 1> <link rel="canonical" href="${servePath}${request.requestURI}"> <#else> <link rel="canonical" href="${servePath}${request.requestURI}<#if request.queryString??>?${request.queryString}</#if>"> </#if> <#else> <link rel="canonical" href="${servePath}${request.requestURI}"> </#if> <#nested><#if htmlHead??> ${htmlHead}</#if><script src="https://cdn.jsdelivr.net/npm/vditor@3.5.5/dist/js/icons/ant.js" async="" id="vditorIconScript"></script></#macro>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/js/admin/admin.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/js/common.js
Expand Up @@ -306,7 +306,7 @@ window.Util = {
loadVditor: function (cb) {
$.ajax({
method: 'GET',
url: 'https://cdn.jsdelivr.net/npm/vditor@3.5.3/dist/index.min.js',
url: 'https://cdn.jsdelivr.net/npm/vditor@3.5.5/dist/index.min.js',
dataType: 'script',
cache: true,
success: () => {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/9IPHP/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/Bubble/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/Casper/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/Finding/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/Jane/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/Medium/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/NeoEase/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/Pinghsu/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/metro-hot/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/next/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/nijigen/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/timeline/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/skins/yilia/js/common.min.js

Large diffs are not rendered by default.

0 comments on commit a113f05

Please sign in to comment.