From eba06cc3df5f5736d3310b3b57dfc7243f41134a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 01 八月 2024 15:39:12 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/components/editor/index.scss | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/components/editor/index.scss b/src/components/editor/index.scss index 856400d..9f9132f 100644 --- a/src/components/editor/index.scss +++ b/src/components/editor/index.scss @@ -11,6 +11,15 @@ padding-bottom: 0px; .public-DraftEditor-content { padding-bottom: 0; + + * { + font-weight: inherit; + font-style: inherit; + } + } + .DraftEditor-root, .DraftEditor-editorContainer, .public-DraftEditor-content { + height: var(--editor-height, auto); + min-height: var(--editor-height, 500px); } } .bf-content::-webkit-scrollbar { -- Gitblit v1.8.0