feat: Phase 5 — 审查备注编辑器与 PDF 导出
This commit is contained in:
@@ -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}}
|
||||
Reference in New Issue
Block a user