From 7ac10122f73c51bc17f7085e8a69d1c5d7afd13b Mon Sep 17 00:00:00 2001 From: jingrow Date: Sat, 24 Jan 2026 19:34:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Jeditor=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/core/pagetype/form/controls/Jeditor.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/jingrow/frontend/src/core/pagetype/form/controls/Jeditor.vue b/apps/jingrow/frontend/src/core/pagetype/form/controls/Jeditor.vue index 78544d2..6e6c3ac 100644 --- a/apps/jingrow/frontend/src/core/pagetype/form/controls/Jeditor.vue +++ b/apps/jingrow/frontend/src/core/pagetype/form/controls/Jeditor.vue @@ -839,6 +839,13 @@ watch(() => props.disabled, (disabled) => { border: none; box-shadow: none; } +/* 确保 ProseMirror 编辑器填满整个容器,可点击激活 */ +.jeditor .ProseMirror { + min-height: 276px; /* 300px - 12px padding * 2 */ + width: 100%; + cursor: text; + outline: none; +} .tiptap-toolbar-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid currentColor; display: inline-block; margin-left: 4px; opacity: .8; } .tiptap-toolbar .material-symbols-outlined { font-size: 18px !important; line-height: 18px !important; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; } .jeditor-source-textarea {