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 {