fix: scope text selection and Ctrl+A to the note editor#10
fix: scope text selection and Ctrl+A to the note editor#10abdullah4tech wants to merge 1 commit into
Conversation
user-select:none on body lacked the -webkit- prefix WebKitGTK needs, so UI chrome (buttons, menus, window controls) was selectable and Ctrl+A would select-all the whole page instead of just the note.
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
body{user-select:none}was missing the-webkit-prefix WebKitGTK (the Linux webview Wails uses) needs to actually enforce it, so UI chrome — menu/button labels, window controls, sidebar text — was selectable/highlightable.-webkit-user-select:textto the elements that should stay selectable (editor, note title, search box, find/replace inputs).Test plan
make build-linuxbuilds clean