Commit 82f97307 authored by Fatih Acet's avatar Fatih Acet

MarkdownField: Add extra prop to make spacing classes optional.

parent 0f6ecaa1
......@@ -14,6 +14,11 @@
type: String,
required: true,
},
addSpacingClasses: {
type: Boolean,
required: false,
default: true,
},
},
data() {
return {
......@@ -74,7 +79,8 @@
<template>
<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">
<markdown-header
:preview-markdown="previewMarkdown"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment