fix(editor): lint
This commit is contained in:
parent
d6a41fa518
commit
19a78f1f75
@ -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)
|
||||||
|
@ -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,
|
||||||
}
|
}
|
||||||
|
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user