fix(editor): lint
This commit is contained in:
parent
d6a41fa518
commit
19a78f1f75
@ -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)
|
||||
|
@ -2,5 +2,5 @@ export type UploadCallback = (files: File[] | FileList) => Promise<string[]>
|
||||
|
||||
export interface BottomAction {
|
||||
title: string
|
||||
action: Function
|
||||
action: () => void,
|
||||
}
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user