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
4844d0ac
Unverified
Commit
4844d0ac
authored
Feb 15, 2019
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⬆
vditor -> 0.1.8
parent
b83abb3e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
13 deletions
+17
-13
src/main/webapp/admin/admin-index.ftl
src/main/webapp/admin/admin-index.ftl
+2
-2
src/main/webapp/js/admin/article.js
src/main/webapp/js/admin/article.js
+5
-3
src/main/webapp/js/admin/editor.js
src/main/webapp/js/admin/editor.js
+5
-2
src/main/webapp/js/page.js
src/main/webapp/js/page.js
+3
-3
src/main/webapp/skins
src/main/webapp/skins
+1
-1
src/main/webapp/start.ftl
src/main/webapp/start.ftl
+1
-2
No files found.
src/main/webapp/admin/admin-index.ftl
View file @
4844d0ac
...
...
@@ -31,7 +31,7 @@
<title>
${adminConsoleLabel} - ${blogTitle}
</title>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/css/default-base${miniPostfix}.css?${staticResourceVersion}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/css/default-admin${miniPostfix}.css?${staticResourceVersion}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"https://vditor.b3log.org/0.1.
7
/index.classic.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"https://vditor.b3log.org/0.1.
8
/index.classic.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/js/lib/highlight-9.13.1/styles/github.css?${staticResourceVersion}"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"${staticServePath}/favicon.png"
/>
<link
rel=
"manifest"
href=
"${servePath}/manifest.json"
>
...
...
@@ -169,7 +169,7 @@
</div>
</div>
<script
src=
"${staticServePath}/js/lib/compress/admin-lib.min.js"
></script>
<script
src=
"https://vditor.b3log.org/0.1.
7
/index.min.js"
></script>
<script
src=
"https://vditor.b3log.org/0.1.
8
/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/article.js
View file @
4844d0ac
...
...
@@ -20,7 +20,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.6.0.
2, Feb 10
, 2019
* @version 1.6.0.
3, Feb 15
, 2019
*/
admin
.
article
=
{
// 当发文章,取消发布,更新文章时设置为 false。不需在离开编辑器时进行提示。
...
...
@@ -441,13 +441,15 @@ admin.article = {
id
:
'
articleContent
'
,
height
:
500
,
fun
:
fun
,
previewShow
:
true
previewShow
:
true
,
resize
:
false
})
admin
.
editors
.
abstractEditor
=
new
SoloEditor
({
id
:
'
abstract
'
,
height
:
200
,
previewShow
:
false
previewShow
:
false
,
resize
:
true
})
admin
.
article
.
clearDraftTimer
()
...
...
src/main/webapp/js/admin/editor.js
View file @
4844d0ac
...
...
@@ -19,7 +19,7 @@
* @fileoverview editor
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 1.2.0.
1, Feb 10
, 2019
* @version 1.2.0.
2, Feb 15
, 2019
*/
admin
.
editors
=
{}
...
...
@@ -63,11 +63,14 @@ $.extend(SoloEditor.prototype, {
max
:
10
*
1024
*
1024
,
url
:
Label
.
uploadURL
,
token
:
Label
.
uploadToken
,
filename
:
function
(
name
)
{
return
name
.
replace
(
/
\?
|
\\
|
\/
|:|
\|
|<|>|
\*
|
\[
|
\]
|
\s
+/g
,
'
-
'
)
}
},
height
:
this
.
conf
.
height
,
counter
:
102400
,
resize
:
{
enable
:
fals
e
,
enable
:
this
.
conf
.
resiz
e
,
},
lang
:
Label
.
localeString
,
classes
:
{
...
...
src/main/webapp/js/page.js
View file @
4844d0ac
...
...
@@ -20,7 +20,7 @@
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 2.0.0.
0, Feb 10
, 2019
* @version 2.0.0.
1, Feb 15
, 2019
*/
var
Page
=
function
(
tips
)
{
this
.
currentCommentId
=
''
...
...
@@ -105,11 +105,11 @@ $.extend(Page.prototype, {
if
(
typeof
Vditor
===
'
undefined
'
)
{
$
(
'
head
'
).
append
(
$
(
'
<link rel=
\'
stylesheet
\'
href=
\'
https://vditor.b3log.org/0.1.
7
/index.classic.css
\'
>
'
))
$
(
'
<link rel=
\'
stylesheet
\'
href=
\'
https://vditor.b3log.org/0.1.
8
/index.classic.css
\'
>
'
))
$
.
ajax
({
method
:
'
GET
'
,
url
:
'
https://vditor.b3log.org/0.1.
7
/index.min.js
'
,
url
:
'
https://vditor.b3log.org/0.1.
8
/index.min.js
'
,
dataType
:
'
script
'
,
cache
:
true
,
async
:
false
,
...
...
skins
@
cd12e591
Subproject commit
e355717ad74f088860097fda88aea18b4a3ff4e4
Subproject commit
cd12e591de84c8320b1e22a07338f16134cf578a
src/main/webapp/start.ftl
View file @
4844d0ac
...
...
@@ -34,8 +34,7 @@
<br>
<label class="github__text">
<input type="checkbox" checked id="isAgreenCheck">
是否愿意在 GitHub 上收藏该项目、关注<a href="https://github.com/88250" target="_blank">开发者</a>并加入
<a href="https://github.com/b3log" target="_blank">B3log</a> 开源组织
是否愿意在 GitHub 上收藏该<a href="https://github.com/b3log/solo" target="_blank">项目</a>并关注<a href="https://github.com/88250" target="_blank">开发者</a>
</label>
<br>
<button class="startAction">${useGitHubAccountLoginLabel}</button><br>
...
...
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