Procházet zdrojové kódy

fix(canvas-tool): restore the rich text and flip controls for elements

恢复了编辑器画布工具中针对文本和形状元素的富文本编辑以及元素翻转控件的展示,修复了组件被注释掉无法正常使用的问题。
lsc před 4 dny
rodič
revize
7c397d9e02
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/views/Editor/CanvasTool/index2.vue

+ 2 - 2
src/views/Editor/CanvasTool/index2.vue

@@ -126,7 +126,7 @@
           <span>{{ lang.ssShape }}</span>
         </div>
       </Popover>
-      <!-- <RichTextBase  v-if="handleElement?.type == 'text'"/>
+      <RichTextBase  v-if="handleElement?.type == 'text'"/>
       <div style="display: flex; align-items: center;" v-if="handleElement?.type == 'shape'">
         <Select 
           style="flex: 1;" 
@@ -192,7 +192,7 @@
           />
         </div>
       </template>
-      <ElementFlip  v-if="handleElement?.type == 'shape'"/> -->
+      <ElementFlip  v-if="handleElement?.type == 'shape'"/>
 
       <!-- 英语口语工具:重置预览 -->
       <div