pipipi-pikachu 5 yıl önce
ebeveyn
işleme
fa1e7f13d3

+ 1 - 1
src/store/mutations.ts

@@ -112,7 +112,7 @@ export const mutations: MutationTree<State> = {
     state.snapshotLength = length
   },
 
-  // keyBoard
+  // keyboard
 
   [MutationTypes.SET_CTRL_KEY_STATE](state, isActive: boolean) {
     state.ctrlKeyState = isActive

+ 1 - 3
src/utils/emitter.ts

@@ -1,8 +1,6 @@
 import mitt, { Emitter } from 'mitt'
 
-export enum EMITTER_EVENTS {
-  
-}
+export enum EMITTER_EVENTS {}
 
 const emitter: Emitter = mitt()
 

+ 6 - 7
src/views/_common/ThumbnailSlide.vue

@@ -14,13 +14,12 @@
       }"
     >
       <div class="background" :style="{ ...backgroundStyle }"></div>
-
-      <template v-for="(element, index) in slide.elements" :key="element.elId">
-        <BaseElement
-          :elementInfo="element"
-          :elementIndex="index + 1"
-        />
-      </template>
+      <BaseElement
+        v-for="(element, index) in slide.elements"
+        :key="element.elId"
+        :elementInfo="element"
+        :elementIndex="index + 1"
+      />
     </div>
   </div>
 </template>

+ 0 - 16
src/views/_common/_element/TextElement/BaseTextElement.vue

@@ -73,21 +73,5 @@ export default defineComponent({
     background-color: rgba(27, 110, 232, 0.3);
     color: inherit;
   }
-
-  ul {
-    list-style-type: disc;
-    padding-inline-start: 30px;
-    li {
-      list-style-type: disc;
-    }
-  }
-
-  ol {
-    list-style-type: decimal;
-    padding-inline-start: 30px;
-    li {
-      list-style-type: decimal;
-    }
-  }
 }
 </style>

+ 0 - 16
src/views/_common/_element/TextElement/index.vue

@@ -198,22 +198,6 @@ export default defineComponent({
     background-color: rgba(27, 110, 232, 0.3);
     color: inherit;
   }
-
-  ul {
-    list-style-type: disc;
-    padding-inline-start: 30px;
-    li {
-      list-style-type: disc;
-    }
-  }
-
-  ol {
-    list-style-type: decimal;
-    padding-inline-start: 30px;
-    li {
-      list-style-type: decimal;
-    }
-  }
 }
 
 .operate {