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
36835513
Unverified
Commit
36835513
authored
Aug 30, 2019
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⬆
vditor
parent
c1668ad1
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
19 additions
and
19 deletions
+19
-19
package-lock.json
package-lock.json
+9
-9
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/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
src/main/webapp/scss/admin.css
src/main/webapp/scss/admin.css
+1
-1
src/main/webapp/scss/base.css
src/main/webapp/scss/base.css
+1
-1
src/main/webapp/scss/start.css
src/main/webapp/scss/start.css
+1
-1
src/main/webapp/skins
src/main/webapp/skins
+1
-1
No files found.
package-lock.json
View file @
36835513
...
...
@@ -1149,9 +1149,9 @@
}
},
"abab"
:
{
"version"
:
"2.0.
0
"
,
"resolved"
:
"https://registry.npmjs.org/abab/-/abab-2.0.
0
.tgz"
,
"integrity"
:
"sha512-
sY5AXXVZv4Y1VACTtR11UJCPHHudgY5i26Qj5TypE6DKlIApbwb5uqhXcJ5UUGbvZNRh7EeIoW+LrJumBsKp7
w=="
"version"
:
"2.0.
1
"
,
"resolved"
:
"https://registry.npmjs.org/abab/-/abab-2.0.
1
.tgz"
,
"integrity"
:
"sha512-
1zSbbCuoIjafKZ3mblY5ikvAb0ODUbqBnFuUb7f6uLeQhhGJ0vEV4ntmtxKLT2WgXCO94E07BjunsIw1jOMPZ
w=="
},
"abbrev"
:
{
"version"
:
"1.1.1"
,
...
...
@@ -2963,9 +2963,9 @@
}
},
"electron-to-chromium"
:
{
"version"
:
"1.3.24
1
"
,
"resolved"
:
"https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.24
1
.tgz"
,
"integrity"
:
"sha512-
Gb9E6nWZlbgjDDNe5cAvMJixtn79krNJ70EDpq/M10lkGo7PGtBUe7Y0CYVHsBScRwi6ybCS+YetXAN9ysAHDg
=="
"version"
:
"1.3.24
5
"
,
"resolved"
:
"https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.24
5
.tgz"
,
"integrity"
:
"sha512-
W1Tjm8VhabzYmiqLUD/sT/KTKkvZ8QpSkbTfLELBrFdnrolfkCgcbxFE3NXAxL5xedWXF74wWn0j6oVrgBdemw
=="
},
"emoji-regex"
:
{
"version"
:
"6.1.1"
,
...
...
@@ -7961,9 +7961,9 @@
"integrity"
:
"sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM="
},
"vditor"
:
{
"version"
:
"1.7.2
0
"
,
"resolved"
:
"https://registry.npmjs.org/vditor/-/vditor-1.7.2
0
.tgz"
,
"integrity"
:
"sha512-
uHDKxLnh16V13Tu3yeWZX8MyQxNENZOTzbHFKSpSK+PUTHu6jRe0sZcZuahu11F4tRGtiMCTX4xUiCmaTMEEzw
=="
,
"version"
:
"1.7.2
5
"
,
"resolved"
:
"https://registry.npmjs.org/vditor/-/vditor-1.7.2
5
.tgz"
,
"integrity"
:
"sha512-
wYekI18ueRjINT1QatcMD31GsZWIKN2Oe7lOcR1tkzCn73gRF2tk1xjZVWjwx6eotdcb+wYGTMD0rDrVqLN91Q
=="
,
"requires"
:
{
"abcjs"
:
"^5.8.0"
,
"diff-match-patch"
:
"^1.0.4"
,
...
...
package.json
View file @
36835513
...
...
@@ -36,6 +36,6 @@
"
gulp-uglify
"
:
"
^3.0.2
"
},
"dependencies"
:
{
"
vditor
"
:
"
^1.7.2
0
"
"
vditor
"
:
"
^1.7.2
5
"
}
}
src/main/webapp/admin/admin-index.ftl
View file @
36835513
...
...
@@ -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.2
0
/dist/index.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vditor@1.7.2
5
/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/common.js
View file @
36835513
...
...
@@ -185,7 +185,7 @@ var Util = {
return
}
Util
.
addScript
(
'
https://cdn.jsdelivr.net/npm/vditor@1.7.2
0
/dist/index.min.js
'
,
Util
.
addScript
(
'
https://cdn.jsdelivr.net/npm/vditor@1.7.2
5
/dist/index.min.js
'
,
'
vditorScript
'
)
Vditor
.
mermaidRender
(
document
.
body
)
...
...
src/main/webapp/js/common.min.js
View file @
36835513
This diff is collapsed.
Click to expand it.
src/main/webapp/js/page.js
View file @
36835513
...
...
@@ -103,7 +103,7 @@ $.extend(Page.prototype, {
if
(
!
$
(
'
#soloEditorComment
'
).
hasClass
(
'
vditor
'
))
{
var
that
=
this
Util
.
addScript
(
'
https://cdn.jsdelivr.net/npm/vditor@1.7.2
0
/dist/index.min.js
'
,
'
https://cdn.jsdelivr.net/npm/vditor@1.7.2
5
/dist/index.min.js
'
,
'
vditorScript
'
)
var
toolbar
=
[
'
emoji
'
,
...
...
src/main/webapp/js/page.min.js
View file @
36835513
This diff is collapsed.
Click to expand it.
src/main/webapp/scss/admin.css
View file @
36835513
This diff is collapsed.
Click to expand it.
src/main/webapp/scss/base.css
View file @
36835513
This diff is collapsed.
Click to expand it.
src/main/webapp/scss/start.css
View file @
36835513
This diff is collapsed.
Click to expand it.
skins
@
2556bfb0
Subproject commit
4148d8c552c04f662722050f80c8a1ed9e6435f1
Subproject commit
2556bfb0b41cc81a2b6190bbd2e9fd0ed99519d8
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