summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/components/markdown/toolbar.vue
blob: 93252293ba68a7cd4a60f19bc7638394b689fa76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<script>
  export default {
    props: {
      markdownDocs: {
        type: String,
        required: true,
      },
    },
  };
</script>

<template>
  <div class="comment-toolbar clearfix">
    <div class="toolbar-text">
      <a
        :href="markdownDocs"
        target="_blank"
        tabindex="-1">
        Markdown is supported
      </a>
    </div>
    <button
      class="toolbar-button markdown-selector"
      type="button"
      tabindex="-1">
      <i
        class="fa fa-file-image-o toolbar-button-icon"
        aria-hidden="true">
      </i>
      Attach a file
    </button>
  </div>
</template>