@examind/block-editor 0.8.0 → 0.8.1

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/dist/index.js CHANGED
@@ -5876,15 +5876,15 @@ function ExcelWorksheetLinkPlugin() {
5876
5876
  const handleKeydown = (e) => {
5877
5877
  const plt = getOperatingSystem();
5878
5878
  if (plt === "macOS" /* macOS */) {
5879
- if (e.metaKey) {
5880
- if (e.key === "k") {
5879
+ if (e.metaKey && e.shiftKey) {
5880
+ if (e.key === "k" || e.key === "K") {
5881
5881
  createNode();
5882
5882
  e.preventDefault();
5883
5883
  e.stopPropagation();
5884
5884
  }
5885
5885
  }
5886
5886
  } else {
5887
- if (e.ctrlKey && e.key === "k") {
5887
+ if (e.ctrlKey && e.shiftKey && (e.key === "k" || e.key === "K")) {
5888
5888
  createNode();
5889
5889
  e.preventDefault();
5890
5890
  e.stopPropagation();
package/dist/index.mjs CHANGED
@@ -6021,15 +6021,15 @@ function ExcelWorksheetLinkPlugin() {
6021
6021
  const handleKeydown = (e) => {
6022
6022
  const plt = getOperatingSystem();
6023
6023
  if (plt === "macOS" /* macOS */) {
6024
- if (e.metaKey) {
6025
- if (e.key === "k") {
6024
+ if (e.metaKey && e.shiftKey) {
6025
+ if (e.key === "k" || e.key === "K") {
6026
6026
  createNode();
6027
6027
  e.preventDefault();
6028
6028
  e.stopPropagation();
6029
6029
  }
6030
6030
  }
6031
6031
  } else {
6032
- if (e.ctrlKey && e.key === "k") {
6032
+ if (e.ctrlKey && e.shiftKey && (e.key === "k" || e.key === "K")) {
6033
6033
  createNode();
6034
6034
  e.preventDefault();
6035
6035
  e.stopPropagation();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@examind/block-editor",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "@comment version": [
5
5
  "Don't specify package version here. It will be injected by publish workflow."
6
6
  ],
@@ -62,7 +62,7 @@
62
62
  "tsup": "^8.3.5",
63
63
  "typescript": "^5.7.2",
64
64
  "typescript-eslint": "^8.18.2",
65
- "@examind/block-types": "0.8.0"
65
+ "@examind/block-types": "0.8.1"
66
66
  },
67
67
  "dependencies": {
68
68
  "@dnd-kit/core": "6.3.1",