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

footnote_definition.vue « wrappers « components « content_editor « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b7b02605f7ea7d105be64cf518b88c0069de3eb (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
<script>
import { NodeViewWrapper, NodeViewContent } from '@tiptap/vue-2';

export default {
  name: 'FootnoteDefinitionWrapper',
  components: {
    NodeViewWrapper,
    NodeViewContent,
  },
  props: {
    node: {
      type: Object,
      required: true,
    },
  },
};
</script>
<template>
  <node-view-wrapper class="gl-display-flex gl-font-sm" as="div">
    <span
      data-testid="footnote-label"
      contenteditable="false"
      class="gl-display-inline-flex gl-mr-2"
      >{{ node.attrs.label }}:</span
    >
    <node-view-content />
  </node-view-wrapper>
</template>