feat(KB-234): add double-click edit and Escape key handling to SpecEditor

- Add double-click handler to SpecEditor for quick edit mode entry

- Implement Escape key handler to exit edit mode

- Add comprehensive double-click interaction tests

- Add CSS styles for improved editor UX
This commit is contained in:
gsxdsm
2026-03-30 19:09:52 -07:00
parent 5e1f6ec85b
commit b40973a03d
3 changed files with 74 additions and 2 deletions

View File

@@ -7857,6 +7857,11 @@ html .column.drag-over * {
overflow: hidden;
}
/* Double-click to edit cursor - only when not readOnly */
.spec-editor:not(.spec-editor-readonly) .markdown-body {
cursor: pointer;
}
/* Toolbar - fixed at top */
.spec-editor-toolbar {
display: flex;