From 99a7cf468efd54e6a797fbb59297b5b3e5df1801 Mon Sep 17 00:00:00 2001
From: lhtuling <44140500+lhtuling@users.noreply.github.com>
Date: Mon, 18 Sep 2023 16:28:53 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8css=E9=80=89?=
 =?UTF-8?q?=E6=8B=A9=E5=99=A8=20=E5=A2=9E=E5=8A=A0=E6=96=87=E5=AD=97?=
 =?UTF-8?q?=E6=B0=B4=E5=B9=B3=E5=AF=B9=E9=BD=90=E9=80=89=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

编辑器css选择器 增加文字水平对齐选项
---
 .../src/component/ClassNameControl.tsx        | 30 ++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/packages/amis-editor-core/src/component/ClassNameControl.tsx b/packages/amis-editor-core/src/component/ClassNameControl.tsx
index 420456143d3..1a41a181942 100644
--- a/packages/amis-editor-core/src/component/ClassNameControl.tsx
+++ b/packages/amis-editor-core/src/component/ClassNameControl.tsx
@@ -459,7 +459,35 @@ const classOptions = [
       }
     ]
   },
-
+  
+  {
+      label: '对齐',
+      children: [
+        {
+          label: '左',
+          value: 'text-left'
+        },
+
+        '|',
+        {
+          label: '中',
+          value: 'text-center'
+        },
+
+        '|',
+        {
+          label: '右',
+          value: 'text-right'
+        },
+
+        '|',
+        {
+          label: 'justify',
+          value: 'text-justify'
+        }
+      ]
+  },
+  
   {
     label: '其他',
     className: 'w2x',