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 | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 56 insertions(+), 2 deletions(-) diff --git a/src/tabviews/custom/components/editor/braft-editor/index.scss b/src/tabviews/custom/components/editor/braft-editor/index.scss index e9e62b4..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; } @@ -49,13 +71,45 @@ } } } +.custom-braft-editor-box.bold-border { + .braft-content { + table:not(.no-border) { + td, th { + border-width: 2px!important; + } + } + } +} +.custom-braft-editor-box.deep-border { + .braft-content { + table:not(.no-border) { + td, th { + border-color: rgba(0, 0, 0, 0.85)!important; + } + } + } +} +.custom-braft-editor-box.word-break { + .braft-content { + table:not(.no-break) { + td, th { + word-break: break-all!important; + } + } + } +} .custom-braft-editor-box.tb-flex { .braft-content { - table { + table:not(.no-flex) { table-layout: fixed; } } } +.custom-braft-editor-box.deep-split { + .braft-content hr { + border-color: rgba(0, 0, 0, 0.85)!important; + } +} .custom-braft-editor-box::after { content: ' '; -- Gitblit v1.8.0