@fileverse-dev/ddoc 1.5.7 → 1.5.8

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -54359,7 +54359,8 @@ const Bte = Mt.create({
54359
54359
  handleDOMEvents: {
54360
54360
  mouseover: A,
54361
54361
  keydown: (L, U) => {
54362
- if (U.key === "Enter") return !0;
54362
+ if (["ArrowUp", "ArrowDown", "Enter"].includes(U.key) && document.querySelector("#slash-command"))
54363
+ return !0;
54363
54364
  }
54364
54365
  },
54365
54366
  handleClick: w
@@ -54377,7 +54378,8 @@ const Bte = Mt.create({
54377
54378
  handleDOMEvents: {
54378
54379
  mouseover: A,
54379
54380
  keydown: (L, U) => {
54380
- if (U.key === "Enter") return !0;
54381
+ if (["ArrowUp", "ArrowDown", "Enter"].includes(U.key) && document.querySelector("#slash-command"))
54382
+ return !0;
54381
54383
  }
54382
54384
  },
54383
54385
  handleClick: w