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
09b5b88d
Unverified
Commit
09b5b88d
authored
Sep 18, 2019
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⬆
vditor
parent
230450f2
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
12 deletions
+12
-12
package-lock.json
package-lock.json
+6
-6
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
No files found.
package-lock.json
View file @
09b5b88d
...
...
@@ -3024,9 +3024,9 @@
}
},
"electron-to-chromium"
:
{
"version"
:
"1.3.26
0
"
,
"resolved"
:
"https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.26
0
.tgz"
,
"integrity"
:
"sha512-
wGt+OivF1C1MPwaSv3LJ96ebNbLAWlx3HndivDDWqwIVSQxmhL17Y/YmwUdEMtS/bPyommELt47Dct0/VZNQBQ
=="
"version"
:
"1.3.26
1
"
,
"resolved"
:
"https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.26
1
.tgz"
,
"integrity"
:
"sha512-
nA9xFj1SgHXlW/6T4+udW2u/Ic/bne25UoFsddoNM7Ut2bgNGLLQUhLhk+vQlbKh9WiRgDDlHaC36Oy7AgRR9w
=="
},
"emoji-regex"
:
{
"version"
:
"6.1.1"
,
...
...
@@ -8097,9 +8097,9 @@
"integrity"
:
"sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM="
},
"vditor"
:
{
"version"
:
"1.8.
8
"
,
"resolved"
:
"https://registry.npmjs.org/vditor/-/vditor-1.8.
8
.tgz"
,
"integrity"
:
"sha512-
mMILlCHJHrtlbWyLU2xswzVFkTtA1FvO2wtvDio6/vAOvCt2nr4DGn2CVzgZZxAd45/EwXfzADzlY87q4utMSQ
=="
,
"version"
:
"1.8.
9
"
,
"resolved"
:
"https://registry.npmjs.org/vditor/-/vditor-1.8.
9
.tgz"
,
"integrity"
:
"sha512-
WetgTcj5lDwA+BDkSDnwqZfXYwL4YbAEHLZfU3pFvyhhTagq3Hw4CTO4aZaq0d5q4g37nzADNjL3BpZVuVQpnA
=="
,
"requires"
:
{
"abcjs"
:
"^5.8.0"
,
"diff-match-patch"
:
"^1.0.4"
,
...
...
package.json
View file @
09b5b88d
...
...
@@ -36,6 +36,6 @@
"
gulp-uglify
"
:
"
^3.0.2
"
},
"dependencies"
:
{
"
vditor
"
:
"
^1.8.
8
"
"
vditor
"
:
"
^1.8.
9
"
}
}
src/main/webapp/admin/admin-index.ftl
View file @
09b5b88d
...
...
@@ -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.8.
8
/dist/index.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/vditor@1.8.
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/common.js
View file @
09b5b88d
...
...
@@ -157,7 +157,7 @@ var Util = {
if
(
typeof
Vditor
===
'
undefined
'
)
{
Util
.
addScript
(
'
https://cdn.jsdelivr.net/npm/vditor@1.8.
8
/dist/method.min.js
'
,
'
https://cdn.jsdelivr.net/npm/vditor@1.8.
9
/dist/method.min.js
'
,
'
vditorPreviewScript
'
)
}
...
...
src/main/webapp/js/common.min.js
View file @
09b5b88d
This diff is collapsed.
Click to expand it.
src/main/webapp/js/page.js
View file @
09b5b88d
...
...
@@ -103,7 +103,7 @@ $.extend(Page.prototype, {
if
(
!
$
(
'
#soloEditorComment
'
).
hasClass
(
'
vditor
'
))
{
var
that
=
this
Util
.
addScript
(
'
https://cdn.jsdelivr.net/npm/vditor@1.8.
8
/dist/index.min.js
'
,
'
https://cdn.jsdelivr.net/npm/vditor@1.8.
9
/dist/index.min.js
'
,
'
vditorScript
'
)
var
toolbar
=
[
'
emoji
'
,
...
...
src/main/webapp/js/page.min.js
View file @
09b5b88d
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