Welcome to mirror list, hosted at ThFree Co, Russian Federation.

text_editor.vue « components « pipeline_editor « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a925077c9067c3e828673878b013f88aa841530c (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
<script>
import EditorLite from '~/vue_shared/components/editor_lite.vue';

export default {
  components: {
    EditorLite,
  },
  props: {
    value: {
      type: String,
      required: false,
      default: '',
    },
  },
};
</script>
<template>
  <div class="gl-border-solid gl-border-gray-100 gl-border-1">
    <editor-lite
      v-model="value"
      file-name="*.yml"
      :editor-options="{ readOnly: true }"
      @editor-ready="$emit('editor-ready')"
    />
  </div>
</template>