@codemirror/lint 6.9.2 → 6.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 6.9.3 (2026-01-27)
2
+
3
+ ### Bug fixes
4
+
5
+ Fix an issue where the lint panel inappropriately blocks the default behavior of key combinations with Ctrl, Alt, or Cmd held.
6
+
1
7
  ## 6.9.2 (2025-11-03)
2
8
 
3
9
  ### Bug fixes
package/dist/index.cjs CHANGED
@@ -460,6 +460,8 @@ class LintPanel {
460
460
  this.view = view;
461
461
  this.items = [];
462
462
  let onkeydown = (event) => {
463
+ if (event.ctrlKey || event.altKey || event.metaKey)
464
+ return;
463
465
  if (event.keyCode == 27) { // Escape
464
466
  closeLintPanel(this.view);
465
467
  this.view.focus();
package/dist/index.js CHANGED
@@ -458,6 +458,8 @@ class LintPanel {
458
458
  this.view = view;
459
459
  this.items = [];
460
460
  let onkeydown = (event) => {
461
+ if (event.ctrlKey || event.altKey || event.metaKey)
462
+ return;
461
463
  if (event.keyCode == 27) { // Escape
462
464
  closeLintPanel(this.view);
463
465
  this.view.focus();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemirror/lint",
3
- "version": "6.9.2",
3
+ "version": "6.9.3",
4
4
  "description": "Linting support for the CodeMirror code editor",
5
5
  "scripts": {
6
6
  "test": "cm-runtests",
@@ -35,6 +35,6 @@
35
35
  },
36
36
  "repository": {
37
37
  "type": "git",
38
- "url": "https://github.com/codemirror/lint.git"
38
+ "url": "git+https://github.com/codemirror/lint.git"
39
39
  }
40
40
  }