Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
88c319c5
Unverified
Commit
88c319c5
authored
Aug 18, 2019
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⬆
vditor
parent
166aa16d
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
38 additions
and
19 deletions
+38
-19
package-lock.json
package-lock.json
+31
-12
package.json
package.json
+1
-1
src/main/webapp/admin/admin-index.ftl
src/main/webapp/admin/admin-index.ftl
+1
-1
src/main/webapp/js/admin/admin.min.js
src/main/webapp/js/admin/admin.min.js
+1
-1
src/main/webapp/js/common.js
src/main/webapp/js/common.js
+1
-1
src/main/webapp/js/common.min.js
src/main/webapp/js/common.min.js
+1
-1
src/main/webapp/js/page.js
src/main/webapp/js/page.js
+1
-1
src/main/webapp/js/page.min.js
src/main/webapp/js/page.min.js
+1
-1
No files found.
package-lock.json
View file @
88c319c5
...
...
@@ -1159,6 +1159,14 @@
"integrity"
:
"sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
,
"dev"
:
true
},
"abcjs"
:
{
"version"
:
"5.8.0"
,
"resolved"
:
"https://registry.npmjs.org/abcjs/-/abcjs-5.8.0.tgz"
,
"integrity"
:
"sha512-gRU69oZ7ZhETE6TKUqb462tkoDuzLGrtD7d95XguF650GGFlcu4hw91NMwo8Km4007W6tpFPVpLxkAum1pr0/g=="
,
"requires"
:
{
"midi"
:
"git+https://github.com/paulrosen/MIDI.js.git#abcjs"
}
},
"acorn"
:
{
"version"
:
"5.7.3"
,
"resolved"
:
"https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz"
,
...
...
@@ -2952,9 +2960,9 @@
}
},
"electron-to-chromium"
:
{
"version"
:
"1.3.2
25
"
,
"resolved"
:
"https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.2
25
.tgz"
,
"integrity"
:
"sha512-
7W/L3jw7HYE+tUPbcVOGBmnSrlUmyZ/Uyg24QS7Vx0a9KodtNrN0r0Q/LyGHrcYMtw2rv7E49F/vTXwlV/fuaA
=="
"version"
:
"1.3.2
34
"
,
"resolved"
:
"https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.2
34
.tgz"
,
"integrity"
:
"sha512-
SVXY503NJLFAqBx8VdJaO47G+qUQggHgRjZnyjH9/SZ1w0CJpeBrEssNPk71TeKU8OGHdYjjNNHeJ6v+TJoCBg
=="
},
"emoji-regex"
:
{
"version"
:
"6.1.1"
,
...
...
@@ -3086,9 +3094,9 @@
"integrity"
:
"sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A=="
},
"estraverse"
:
{
"version"
:
"4.
2
.0"
,
"resolved"
:
"https://registry.npmjs.org/estraverse/-/estraverse-4.
2
.0.tgz"
,
"integrity"
:
"sha
1-De4/7TH81GlhjOc0IJn8GvoL2xM
="
"version"
:
"4.
3
.0"
,
"resolved"
:
"https://registry.npmjs.org/estraverse/-/estraverse-4.
3
.0.tgz"
,
"integrity"
:
"sha
512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw=
="
},
"esutils"
:
{
"version"
:
"2.0.3"
,
...
...
@@ -3619,6 +3627,7 @@
"minipass"
:
{
"version"
:
"2.3.5"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"safe-buffer"
:
"^5.1.2"
,
"yallist"
:
"^3.0.0"
...
...
@@ -3635,6 +3644,7 @@
"mkdirp"
:
{
"version"
:
"0.5.1"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"minimist"
:
"0.0.8"
}
...
...
@@ -3718,6 +3728,7 @@
"once"
:
{
"version"
:
"1.4.0"
,
"bundled"
:
true
,
"optional"
:
true
,
"requires"
:
{
"wrappy"
:
"1"
}
...
...
@@ -3793,7 +3804,8 @@
},
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"safer-buffer"
:
{
"version"
:
"2.1.2"
,
...
...
@@ -3880,11 +3892,13 @@
},
"wrappy"
:
{
"version"
:
"1.0.2"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
},
"yallist"
:
{
"version"
:
"3.0.3"
,
"bundled"
:
true
"bundled"
:
true
,
"optional"
:
true
}
}
},
...
...
@@ -5443,6 +5457,10 @@
"to-regex"
:
"^3.0.2"
}
},
"midi"
:
{
"version"
:
"git+https://github.com/paulrosen/MIDI.js.git#e593ffef81a0350f99448e3ab8111957145ff6b2"
,
"from"
:
"git+https://github.com/paulrosen/MIDI.js.git#abcjs"
},
"mime"
:
{
"version"
:
"2.4.4"
,
"resolved"
:
"https://registry.npmjs.org/mime/-/mime-2.4.4.tgz"
,
...
...
@@ -7961,10 +7979,11 @@
"integrity"
:
"sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM="
},
"vditor"
:
{
"version"
:
"1.7.
7
"
,
"resolved"
:
"https://registry.npmjs.org/vditor/-/vditor-1.7.
7
.tgz"
,
"integrity"
:
"sha512-M
GwIaCjEbOAlxT+ajSmx1mt2bikZYhLMtAi6OxVgV7zd+NKOz2kJ/qA45zrFvOfaQOamXUVkadF4ild6eKZGRg
=="
,
"version"
:
"1.7.
9
"
,
"resolved"
:
"https://registry.npmjs.org/vditor/-/vditor-1.7.
9
.tgz"
,
"integrity"
:
"sha512-M
XhyF5yQKyuAcYwBc9mdaFP+UZghKFhjE4z7SMNFYlcKX2ZbtIIiWlWokX/ZxaVRGTRt0p772Y1VQj0ojXe/Tw
=="
,
"requires"
:
{
"abcjs"
:
"^5.8.0"
,
"diff-match-patch"
:
"^1.0.4"
,
"echarts"
:
"^4.2.1"
,
"highlight.js"
:
"^9.15.9"
,
...
...
package.json
View file @
88c319c5
...
...
@@ -36,6 +36,6 @@
"
gulp-uglify
"
:
"
^3.0.2
"
},
"dependencies"
:
{
"
vditor
"
:
"
^1.7.
7
"
"
vditor
"
:
"
^1.7.
9
"
}
}
src/main/webapp/admin/admin-index.ftl
View file @
88c319c5
...
...
@@ -165,7 +165,7 @@
</div>
</div>
<script
src=
"${staticServePath}/js/lib/compress/admin-lib.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vditor@1.7.
7
/dist/index.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vditor@1.7.
9
/dist/index.min.js"
></script>
<script
src=
"${staticServePath}/js/common${miniPostfix}.js"
></script>
<
#if
""
==
miniPostfix
>
<script
src=
"${staticServePath}/js/admin/admin.js"
></script>
...
...
src/main/webapp/js/admin/admin.min.js
View file @
88c319c5
This diff is collapsed.
Click to expand it.
src/main/webapp/js/common.js
View file @
88c319c5
...
...
@@ -182,7 +182,7 @@ var Util = {
return
}
Util
.
addScript
(
'
https://cdn.jsdelivr.net/npm/vditor@1.7.
7
/dist/index.min.js
'
,
Util
.
addScript
(
'
https://cdn.jsdelivr.net/npm/vditor@1.7.
9
/dist/index.min.js
'
,
'
vditorScript
'
)
Vditor
.
mermaidRender
(
document
.
body
)
...
...
src/main/webapp/js/common.min.js
View file @
88c319c5
This diff is collapsed.
Click to expand it.
src/main/webapp/js/page.js
View file @
88c319c5
...
...
@@ -103,7 +103,7 @@ $.extend(Page.prototype, {
if
(
!
$
(
'
#soloEditorComment
'
).
hasClass
(
'
vditor
'
))
{
var
that
=
this
Util
.
addScript
(
'
https://cdn.jsdelivr.net/npm/vditor@1.7.
7
/dist/index.min.js
'
,
'
https://cdn.jsdelivr.net/npm/vditor@1.7.
9
/dist/index.min.js
'
,
'
vditorScript
'
)
var
toolbar
=
[
'
emoji
'
,
...
...
src/main/webapp/js/page.min.js
View file @
88c319c5
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment