tiptap editor #2222

Merged
konrad merged 66 commits from dpschen/frontend:feature/feat-tiptap-editor into main 2023-10-22 13:49:01 +00:00
3 changed files with 2 additions and 5 deletions
Showing only changes of commit 19a78f1f75 - Show all commits

View File

@ -334,16 +334,13 @@
<script setup lang="ts">
import {ref} from 'vue'
import {Editor} from '@tiptap/vue-3'
import type {UploadCallback} from './types'
import BaseButton from '@/components/base/BaseButton.vue'
const {
editor = null,
uploadCallback,
} = defineProps<{
editor: Editor,
uploadCallback?: UploadCallback,
}>()
const tableMode = ref(false)

View File

@ -2,5 +2,5 @@ export type UploadCallback = (files: File[] | FileList) => Promise<string[]>
export interface BottomAction {
title: string
action: Function
action: () => void,
}

View File

@ -30,7 +30,7 @@
</template>
<script setup lang="ts">
import {ref, computed, watch, type PropType} from 'vue'
import {ref, computed, watch} from 'vue'
import CustomTransition from '@/components/misc/CustomTransition.vue'
import Editor from '@/components/input/AsyncEditor'