From f1a4a2e83a5a3a3f8636c0d85a3a02471c5b07e7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 05 三月 2025 15:39:52 +0800
Subject: [PATCH] Merge branch 'positec' into dms

---
 src/tabviews/custom/components/editor/braft-editor/index.scss |   32 +++++++++++++++++++++++++++-----
 1 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/src/tabviews/custom/components/editor/braft-editor/index.scss b/src/tabviews/custom/components/editor/braft-editor/index.scss
index e81c223..89c786e 100644
--- a/src/tabviews/custom/components/editor/braft-editor/index.scss
+++ b/src/tabviews/custom/components/editor/braft-editor/index.scss
@@ -26,6 +26,28 @@
       background: #ffffff;
     }
   }
+  .braft-content {
+    table.no-border {
+      td, th {
+        border: none;
+      }
+    }
+    table.align-center {
+      td, th {
+        text-align: center;
+      }
+    }
+    table.deep-border {
+      td, th {
+        border-color: rgba(0, 0, 0, 0.85);
+      }
+    }
+    table.word-break {
+      td, th {
+        word-break: break-all;
+      }
+    }
+  }
 }
 
 .custom-braft-editor-box.th-light {
@@ -39,7 +61,7 @@
 }
 .custom-braft-editor-box.no-border {
   .braft-content {
-    table {
+    table:not(.border):not(.deep-border) {
       td, th {
         border: none!important;
       }
@@ -51,7 +73,7 @@
 }
 .custom-braft-editor-box.bold-border {
   .braft-content {
-    table {
+    table:not(.no-border) {
       td, th {
         border-width: 2px!important;
       }
@@ -60,7 +82,7 @@
 }
 .custom-braft-editor-box.deep-border {
   .braft-content {
-    table {
+    table:not(.no-border) {
       td, th {
         border-color: rgba(0, 0, 0, 0.85)!important;
       }
@@ -69,7 +91,7 @@
 }
 .custom-braft-editor-box.word-break {
   .braft-content {
-    table {
+    table:not(.no-break) {
       td, th {
         word-break: break-all!important;
       }
@@ -78,7 +100,7 @@
 }
 .custom-braft-editor-box.tb-flex {
   .braft-content {
-    table {
+    table:not(.no-flex) {
       table-layout: fixed;
     }
   }

--
Gitblit v1.8.0