mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-15 17:25:26 -04:00
172a8ea7b0
Clicking the card body outside the edit <textarea> bubbled to the card's click handler and collapsed the card, silently discarding unsaved skill edits (issue #4002). The textarea's own stopPropagation only shields clicks landing on it. Bail out of the card click handler while a .skill-md-editor is present so the card only leaves edit mode via Save (Cancel button is handled separately by #3580). Mirrors the same guard into the built-in capability card, which shared the bug. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>