fix(editor): lint

This commit is contained in:
kolaente 2023-10-21 19:52:56 +02:00
parent d6a41fa518
commit 19a78f1f75
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 2 additions and 5 deletions

View File

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

View File

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

View File

@ -30,7 +30,7 @@
</template> </template>
<script setup lang="ts"> <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 CustomTransition from '@/components/misc/CustomTransition.vue'
import Editor from '@/components/input/AsyncEditor' import Editor from '@/components/input/AsyncEditor'