From c56dd9479e4c44af4b58c5a14c6f0f3f3cc20d85 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 05 三月 2025 15:37:20 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/tabviews/custom/components/editor/braft-editor/index.scss | 32 ++++++++++++++++++++++---------- 1 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/tabviews/custom/components/editor/braft-editor/index.scss b/src/tabviews/custom/components/editor/braft-editor/index.scss index fcbf6a0..89c786e 100644 --- a/src/tabviews/custom/components/editor/braft-editor/index.scss +++ b/src/tabviews/custom/components/editor/braft-editor/index.scss @@ -26,14 +26,26 @@ background: #ffffff; } } - .braft-content table.no-border { - td, th { - border: none; + .braft-content { + table.no-border { + td, th { + border: none; + } } - } - .braft-content table.align-center { - td, th { - text-align: center; + 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; + } } } } @@ -49,7 +61,7 @@ } .custom-braft-editor-box.no-border { .braft-content { - table:not(.border) { + table:not(.border):not(.deep-border) { td, th { border: none!important; } @@ -79,7 +91,7 @@ } .custom-braft-editor-box.word-break { .braft-content { - table { + table:not(.no-break) { td, th { word-break: break-all!important; } @@ -88,7 +100,7 @@ } .custom-braft-editor-box.tb-flex { .braft-content { - table { + table:not(.no-flex) { table-layout: fixed; } } -- Gitblit v1.8.0