Skip to content

Commit 67d4e3b

Browse files
committed
refactor: remove markdown editor sceleton template
1 parent d0c0997 commit 67d4e3b

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

adminforth/spa/src/views/CreateEditSkeleton.vue

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,6 @@
1313

1414
<template v-for="column in visibleColumns" :key="column.name">
1515
<div
16-
v-if="isMarkdownEditor(column)"
17-
class="flex items-start bg-lightForm dark:bg-darkForm border-b border-gray-100 dark:border-darkFormBorder"
18-
>
19-
<div class="w-[208px] flex-shrink-0 px-6 pt-7">
20-
<Skeleton class="w-24 h-[10px]" />
21-
</div>
22-
23-
<div class="flex-1 px-6 pt-4 flex flex-col pb-6">
24-
<div class="flex flex-wrap items-center gap-3 p-1.5 border border-gray-300 dark:border-gray-600 rounded-t-lg bg-gray-50 dark:bg-gray-800 w-full h-[46px]">
25-
<template v-for="btn in skeletonButtons" :key="btn.id">
26-
<div class="animate-pulse flex items-center justify-center h-8 px-1 text-gray-300 dark:text-gray-600">
27-
<component :is="btn.icon" class="w-5 h-5" />
28-
</div>
29-
<div v-if="btn.sep" class="w-px h-4 bg-gray-300 dark:bg-gray-600 mx-1"></div>
30-
</template>
31-
</div>
32-
33-
<div class="animate-pulse bg-white dark:bg-gray-950 border-x border-b border-gray-200 dark:border-gray-700 rounded-b-lg w-full h-[670px]"></div>
34-
</div>
35-
</div>
36-
37-
<div
38-
v-else
3916
class="flex items-center bg-lightForm dark:bg-darkForm border-b border-gray-100 dark:border-darkFormBorder"
4017
:style="{ height: getFieldHeight(column) }"
4118
>
@@ -87,7 +64,6 @@ const visibleColumns = computed(() => {
8764
});
8865
});
8966
90-
const isMarkdownEditor = (column: any) => column.name === 'description';
9167
9268
const hasEditingNote = (column: any) => !!column.editingNote;
9369

0 commit comments

Comments
 (0)