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

content_editor.vue « 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: 839d4de912dca25fbabdbca4ceb549fd1d54053e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<script>
import { EditorContent } from 'tiptap';
import createEditor from '../services/create_editor';

export default {
  components: {
    EditorContent,
  },
  data() {
    return {
      editor: createEditor(),
    };
  },
};
</script>
<template>
  <editor-content :editor="editor" />
</template>