Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
fbacfdb0
Commit
fbacfdb0
authored
Jul 24, 2017
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes broken edit mode in editor.
parent
ca6d178d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/assets/javascripts/repo/repo_editor.vue
app/assets/javascripts/repo/repo_editor.vue
+1
-1
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+1
-0
No files found.
app/assets/javascripts/repo/repo_editor.vue
View file @
fbacfdb0
...
@@ -68,7 +68,7 @@ const RepoEditor = {
...
@@ -68,7 +68,7 @@ const RepoEditor = {
editMode
()
{
editMode
()
{
const
panelClassList
=
document
.
querySelector
(
'
.panel-right
'
).
classList
;
const
panelClassList
=
document
.
querySelector
(
'
.panel-right
'
).
classList
;
let
readOnly
=
tru
e
;
let
readOnly
=
fals
e
;
if
(
this
.
editMode
)
{
if
(
this
.
editMode
)
{
panelClassList
.
add
(
'
edit-mode
'
);
panelClassList
.
add
(
'
edit-mode
'
);
...
...
app/assets/stylesheets/pages/repo.scss
View file @
fbacfdb0
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
.cursor
{
.cursor
{
background
:
$black
;
background
:
$black
;
border-color
:
$black
;
border-color
:
$black
;
display
:
block
!
important
;
}
}
}
}
}
}
...
...
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