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
c80edf95
Commit
c80edf95
authored
Apr 30, 2020
by
Liyuan Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
#114
parent
512a6be8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/main/resources/js/admin/editor.js
src/main/resources/js/admin/editor.js
+2
-1
No files found.
src/main/resources/js/admin/editor.js
View file @
c80edf95
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
*
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.6.0.
0, Apr 16
, 2020
* @version 1.6.0.
1, Apr 30
, 2020
*/
*/
admin
.
editors
=
{}
admin
.
editors
=
{}
...
@@ -81,6 +81,7 @@ $.extend(SoloEditor.prototype, {
...
@@ -81,6 +81,7 @@ $.extend(SoloEditor.prototype, {
upload
:
{
upload
:
{
max
:
10
*
1024
*
1024
,
max
:
10
*
1024
*
1024
,
url
:
Label
.
uploadURL
,
url
:
Label
.
uploadURL
,
linkToImgUrl
:
Label
.
servePath
+
'
/upload/fetch
'
,
token
:
Label
.
uploadToken
,
token
:
Label
.
uploadToken
,
filename
:
function
(
name
)
{
filename
:
function
(
name
)
{
return
name
.
replace
(
/
[^
(a-zA-Z0-9
\u
4e00-
\u
9fa5
\.
)
]
/g
,
''
).
return
name
.
replace
(
/
[^
(a-zA-Z0-9
\u
4e00-
\u
9fa5
\.
)
]
/g
,
''
).
...
...
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