评论区改用公共 Markdown 编辑器(不含隐藏内容),并忽略 GORM 未命中日志噪音。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-20 10:36:41 +08:00
parent 803b694659
commit e598782279
6 changed files with 126 additions and 67 deletions

View File

@@ -7189,8 +7189,40 @@ html.dark .prose-content pre[data-theme] span {
background: var(--panel-2);
margin-top: 8px;
}
.cmt-reply-form .field {
font-size: 13.5px;
/* 评论区公共编辑器:矮于发帖画布,带边框贴近原 field */
.cmt-md-editor {
border: 1px solid var(--line);
border-radius: 12px;
padding: 0.35rem 0.85rem 0.55rem;
background: var(--panel);
}
.cmt-md-editor .j13-md-editor:not(.is-fullscreen) {
min-height: 0;
}
.cmt-md-editor .j13-md-textarea,
.cmt-md-editor .j13-md-preview {
min-height: 7.5rem;
overflow-y: auto;
}
.cmt-md-editor-floor .j13-md-textarea,
.cmt-md-editor-floor .j13-md-preview {
min-height: 10rem;
}
.cmt-reply-form .cmt-md-editor {
background: var(--panel);
padding: 0.25rem 0.65rem 0.4rem;
}
.cmt-reply-form .cmt-md-editor .j13-md-textarea,
.cmt-reply-form .cmt-md-editor .j13-md-preview {
min-height: 6rem;
}
.cmt-md-editor .j13-md-toolbar {
padding-bottom: 8px;
}
.cmt-md-editor .j13-md-foot {
font-size: 11.5px;
padding-top: 8px;
}
/* 软删占位:匿名马赛克(不含真实头像/昵称) */