Skip to content

Commit

Permalink
⬆️ fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Dec 29, 2019
1 parent 4ab8cd0 commit e4f67e5
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 978 deletions.
1,054 changes: 94 additions & 960 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"gulp-uglify": "^3.0.2"
},
"dependencies": {
"vditor": "^1.10.0"
"vditor": "^2.0.3"
}
}
2 changes: 1 addition & 1 deletion src/main/resources/css/base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/resources/css/mobile-base.css

Large diffs are not rendered by default.

17 changes: 5 additions & 12 deletions src/main/resources/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,6 @@ var Util = {
},
lang: Label.langLabel,
hint: {
emojiPath: Label.staticServePath + '/emoji/graphics',
emojiTail: '<a href="' + Label.servePath +
'/settings/function" target="_blank">设置常用表情</a>',
emoji: Label.emoji,
Expand Down Expand Up @@ -711,21 +710,15 @@ var Util = {
if ($(window).width() < 768) {
options.toolbar = [
'emoji',
'headings',
'quote',
'|',
'bold',
'italic',
'link',
'list',
'ordered-list',
'check',
'|',
'upload',
'link',
'table',
'record',
'|',
'both',
'wysiwyg',
'preview',
'info',
'fullscreen',
'help',
]
options.resize.enable = false
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/classic/footer.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

<script src="${staticServePath}/js/symbol-defs${miniPostfix}.js?${staticResourceVersion}"></script>
<script src="${staticServePath}/js/lib/compress/libs.min.js?${staticResourceVersion}"></script>
<script src="https://cdn.jsdelivr.net/npm/vditor@1.10.0/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vditor@2.0.3/dist/index.min.js"></script>
<script src="${staticServePath}/js/common${miniPostfix}.js?${staticResourceVersion}"></script>
<script>
var Label = {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/skins/mobile/footer.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</div>
<script src="${staticServePath}/js/symbol-defs${miniPostfix}.js?${staticResourceVersion}"></script>
<script src="${staticServePath}/js/lib/compress/libs.min.js?${staticResourceVersion}"></script>
<script src="https://cdn.jsdelivr.net/npm/vditor@1.10.0/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vditor@2.0.3/dist/index.min.js"></script>
<script src="${staticServePath}/js/common${miniPostfix}.js?${staticResourceVersion}"></script>
<script>
var Label = {
Expand Down

0 comments on commit e4f67e5

Please sign in to comment.