feat: Phase 5 — 审查备注编辑器与 PDF 导出

This commit is contained in:
2026-06-19 22:10:13 +08:00
parent 1cfab2d2d1
commit b35d6f874b
10 changed files with 914 additions and 15 deletions
+14
View File
@@ -0,0 +1,14 @@
{{define "note-editor"}}
<div class="note-editor mt-2" data-note-key="{{.Scope}}:{{.ScopeKey}}" data-scope="{{.Scope}}" data-scope-key="{{.ScopeKey}}">
<div class="flex items-center justify-between mb-1">
<span class="text-xs text-gray-400">💬 备注 (Markdown)</span>
<span class="note-save-indicator text-xs"></span>
</div>
<textarea
class="note-textarea"
placeholder="{{if eq .Scope "overall"}}添加整体备注...{{else if eq .Scope "file"}}添加文件级备注...{{else}}添加备注...{{end}}"
rows="2"
oninput="NoteEditor.onInput(this, '{{.Scope}}', '{{.ScopeKey}}')"
>{{.Content}}</textarea>
</div>
{{end}}