Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
a0747fa1
Commit
a0747fa1
authored
Mar 13, 2019
by
john
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3011
parent
b164b9cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
7 deletions
+25
-7
backend/web/plugins/editormd/editormd.js
backend/web/plugins/editormd/editormd.js
+21
-3
frontend/web/.htaccess
frontend/web/.htaccess
+4
-4
No files found.
backend/web/plugins/editormd/editormd.js
View file @
a0747fa1
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
"
list-ul
"
,
"
list-ol
"
,
"
hr
"
,
"
|
"
,
"
list-ul
"
,
"
list-ol
"
,
"
hr
"
,
"
|
"
,
"
link
"
,
"
reference-link
"
,
"
image
"
,
"
code
"
,
"
preformatted-text
"
,
"
code-block
"
,
"
table
"
,
"
datetime
"
,
"
emoji
"
,
"
html-entities
"
,
"
pagebreak
"
,
"
|
"
,
"
link
"
,
"
reference-link
"
,
"
image
"
,
"
code
"
,
"
preformatted-text
"
,
"
code-block
"
,
"
table
"
,
"
datetime
"
,
"
emoji
"
,
"
html-entities
"
,
"
pagebreak
"
,
"
|
"
,
"
goto-line
"
,
"
watch
"
,
"
preview
"
,
"
fullscreen
"
,
"
clear
"
,
"
search
"
,
"
|
"
,
"
goto-line
"
,
"
watch
"
,
"
preview
"
,
"
fullscreen
"
,
"
clear
"
,
"
search
"
,
"
|
"
,
"
help
"
,
"
info
"
"
help
"
,
"
info
"
,
"
carousel
"
],
],
simple
:
[
simple
:
[
"
undo
"
,
"
redo
"
,
"
|
"
,
"
undo
"
,
"
redo
"
,
"
|
"
,
...
@@ -222,7 +222,8 @@
...
@@ -222,7 +222,8 @@
fullscreen
:
"
fa-arrows-alt
"
,
fullscreen
:
"
fa-arrows-alt
"
,
clear
:
"
fa-eraser
"
,
clear
:
"
fa-eraser
"
,
help
:
"
fa-question-circle
"
,
help
:
"
fa-question-circle
"
,
info
:
"
fa-info-circle
"
info
:
"
fa-info-circle
"
,
carousel
:
"
fa-sliders
"
,
},
},
toolbarIconTexts
:
{},
toolbarIconTexts
:
{},
...
@@ -268,7 +269,8 @@
...
@@ -268,7 +269,8 @@
clear
:
"
清空
"
,
clear
:
"
清空
"
,
search
:
"
搜索
"
,
search
:
"
搜索
"
,
help
:
"
使用帮助
"
,
help
:
"
使用帮助
"
,
info
:
"
关于
"
+
editormd
.
title
info
:
"
关于
"
+
editormd
.
title
,
carousel
:
"
carousel
"
},
},
buttons
:
{
buttons
:
{
enter
:
"
确定
"
,
enter
:
"
确定
"
,
...
@@ -2911,6 +2913,22 @@
...
@@ -2911,6 +2913,22 @@
cm
.
setSelections
(
selections
);
cm
.
setSelections
(
selections
);
},
},
carousel
:
function
()
{
var
cm
=
this
.
cm
;
var
cursor
=
cm
.
getCursor
();
var
selection
=
cm
.
getSelection
();
if
(
cursor
.
ch
!==
0
)
{
cm
.
setCursor
(
cursor
.
line
,
0
);
cm
.
replaceSelection
(
"
__CAROUSEL__
"
+
selection
);
cm
.
setCursor
(
cursor
.
line
,
cursor
.
ch
+
2
);
}
else
{
cm
.
replaceSelection
(
"
__CAROUSEL__
"
+
selection
);
}
},
h1
:
function
()
{
h1
:
function
()
{
var
cm
=
this
.
cm
;
var
cm
=
this
.
cm
;
var
cursor
=
cm
.
getCursor
();
var
cursor
=
cm
.
getCursor
();
...
...
frontend/web/.htaccess
View file @
a0747fa1
...
@@ -5,17 +5,17 @@ RewriteCond %{HTTP_HOST} ^www.task-on\.com$ [NC]
...
@@ -5,17 +5,17 @@ RewriteCond %{HTTP_HOST} ^www.task-on\.com$ [NC]
RewriteRule
^(.*)$ http://task-on.com/$1 [R=301,L]
RewriteRule
^(.*)$ http://task-on.com/$1 [R=301,L]
RewriteCond
%{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteCond
%{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule
^index\.php$ http
s
://task-on.com/ [R=301,L]
RewriteRule
^index\.php$ http://task-on.com/ [R=301,L]
RewriteCond
%{HTTP_HOST} ^www\.(.*) [NC]
RewriteCond
%{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule
^(.*)$ http://%1/$1 [R=301,L]
RewriteRule
^(.*)$ http://%1/$1 [R=301,L]
RewriteCond
%{HTTP
S
}
off
RewriteCond
%{HTTP}
off
RewriteRule
(.*) http
s
://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteRule
(.*) http://%{HTTP_HOST}%{REQUEST_URI} [R,L]
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteCond
%{REQUEST_URI} ^(.+)/$
RewriteCond
%{REQUEST_URI} ^(.+)/$
RewriteRule
^(.+)/$ http
s
://task-on.com/$1 [R=301,L]
RewriteRule
^(.+)/$ http://task-on.com/$1 [R=301,L]
Redirect
301 /portfolio/appl /portfolio
Redirect
301 /portfolio/appl /portfolio
...
...
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