diff --git a/frontend/src/components/DeDrag/index.vue b/frontend/src/components/DeDrag/index.vue index 9b1ad5959f..99ad7403ee 100644 --- a/frontend/src/components/DeDrag/index.vue +++ b/frontend/src/components/DeDrag/index.vue @@ -10,7 +10,7 @@ [classNameResizable]: resizable, [classNameRotating]: rotating, [classNameRotatable]: rotatable, - [classNameMouseOn]: mouseOn + [classNameMouseOn]: mouseOn || active }, className ]" diff --git a/frontend/src/components/canvas/components/Editor/ContextMenu.vue b/frontend/src/components/canvas/components/Editor/ContextMenu.vue index bf2f0d42e0..1e9f4ca429 100644 --- a/frontend/src/components/canvas/components/Editor/ContextMenu.vue +++ b/frontend/src/components/canvas/components/Editor/ContextMenu.vue @@ -31,8 +31,6 @@ export default { copyData: null, editFilter: [ 'view', - 'v-text', - 'rect-shape', 'custom' ] } diff --git a/frontend/src/components/canvas/custom-component/component-list.js b/frontend/src/components/canvas/custom-component/component-list.js index 541ae75dbd..a0faccdad4 100644 --- a/frontend/src/components/canvas/custom-component/component-list.js +++ b/frontend/src/components/canvas/custom-component/component-list.js @@ -54,10 +54,10 @@ const list = [ width: 300, height: 100, fontSize: 18, - fontWeight: 500, + fontWeight: 400, lineHeight: '', letterSpacing: 0, - textAlign: '', + textAlign: 'left', color: '#000000' } }, @@ -75,7 +75,7 @@ const list = [ borderColor: '', borderRadius: '', fontSize: 14, - fontWeight: 500, + fontWeight: 400, lineHeight: '', letterSpacing: 0, textAlign: '', diff --git a/frontend/src/styles/deicon/demo_index.html b/frontend/src/styles/deicon/demo_index.html index ebca46335f..4adafd5a93 100644 --- a/frontend/src/styles/deicon/demo_index.html +++ b/frontend/src/styles/deicon/demo_index.html @@ -54,6 +54,60 @@