BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
82f97307
Commit
82f97307
authored
Jun 15, 2017
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MarkdownField: Add extra prop to make spacing classes optional.
parent
0f6ecaa1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
field.vue
...sets/javascripts/vue_shared/components/markdown/field.vue
+7
-1
No files found.
app/assets/javascripts/vue_shared/components/markdown/field.vue
View file @
82f97307
...
@@ -14,6 +14,11 @@
...
@@ -14,6 +14,11 @@
type
:
String
,
type
:
String
,
required
:
true
,
required
:
true
,
},
},
addSpacingClasses
:
{
type
:
Boolean
,
required
:
false
,
default
:
true
,
},
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -74,7 +79,8 @@
...
@@ -74,7 +79,8 @@
<
template
>
<
template
>
<div
<div
class=
"md-area prepend-top-default append-bottom-default js-vue-markdown-field"
class=
"md-area js-vue-markdown-field"
:class=
"
{ 'prepend-top-default append-bottom-default': addSpacingClasses }"
ref="gl-form">
ref="gl-form">
<markdown-header
<markdown-header
:preview-markdown=
"previewMarkdown"
:preview-markdown=
"previewMarkdown"
...
...
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