lexical 0.30.1-nightly.20250417.0 → 0.30.1-nightly.20250418.0

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/Lexical.dev.js CHANGED
@@ -10444,7 +10444,7 @@ class LexicalEditor {
10444
10444
  };
10445
10445
  }
10446
10446
  }
10447
- LexicalEditor.version = "0.30.1-nightly.20250417.0+dev.cjs";
10447
+ LexicalEditor.version = "0.30.1-nightly.20250418.0+dev.cjs";
10448
10448
 
10449
10449
  let keyCounter = 1;
10450
10450
  function resetRandomKey() {
@@ -11070,10 +11070,17 @@ function isUnderline(event) {
11070
11070
  return isExactShortcutMatch(event, 'u', CONTROL_OR_META);
11071
11071
  }
11072
11072
  function isParagraph(event) {
11073
- return isExactShortcutMatch(event, 'Enter', {});
11073
+ return isExactShortcutMatch(event, 'Enter', {
11074
+ altKey: 'any',
11075
+ ctrlKey: 'any',
11076
+ metaKey: 'any'
11077
+ });
11074
11078
  }
11075
11079
  function isLineBreak(event) {
11076
11080
  return isExactShortcutMatch(event, 'Enter', {
11081
+ altKey: 'any',
11082
+ ctrlKey: 'any',
11083
+ metaKey: 'any',
11077
11084
  shiftKey: true
11078
11085
  });
11079
11086
  }
package/Lexical.dev.mjs CHANGED
@@ -10442,7 +10442,7 @@ class LexicalEditor {
10442
10442
  };
10443
10443
  }
10444
10444
  }
10445
- LexicalEditor.version = "0.30.1-nightly.20250417.0+dev.esm";
10445
+ LexicalEditor.version = "0.30.1-nightly.20250418.0+dev.esm";
10446
10446
 
10447
10447
  let keyCounter = 1;
10448
10448
  function resetRandomKey() {
@@ -11068,10 +11068,17 @@ function isUnderline(event) {
11068
11068
  return isExactShortcutMatch(event, 'u', CONTROL_OR_META);
11069
11069
  }
11070
11070
  function isParagraph(event) {
11071
- return isExactShortcutMatch(event, 'Enter', {});
11071
+ return isExactShortcutMatch(event, 'Enter', {
11072
+ altKey: 'any',
11073
+ ctrlKey: 'any',
11074
+ metaKey: 'any'
11075
+ });
11072
11076
  }
11073
11077
  function isLineBreak(event) {
11074
11078
  return isExactShortcutMatch(event, 'Enter', {
11079
+ altKey: 'any',
11080
+ ctrlKey: 'any',
11081
+ metaKey: 'any',
11075
11082
  shiftKey: true
11076
11083
  });
11077
11084
  }