@bigbinary/neeto-editor 1.27.0 → 1.27.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/index.js CHANGED
@@ -147373,7 +147373,7 @@ var Menu = function Menu(props) {
147373
147373
  var _excluded$2 = ["addonCommands", "addons", "attachments", "attachmentsConfig", "autoFocus", "className", "contentClassName", "menuClassName", "attachmentsClassName", "isMenuIndependent", "isMenuCollapsible", "defaults", "editorSecrets", "error", "extensions", "hideSlashCommands", "initialValue", "isCharacterCountActive", "keyboardShortcuts", "label", "mentions", "menuType", "placeholder", "required", "rows", "tooltips", "uploadEndpoint", "variables", "onChange", "onFocus", "onBlur", "onSubmit", "onChangeAttachments", "children", "showAttachmentsToastr"];
147374
147374
  function cov_1p0jklglk1() {
147375
147375
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/index.jsx";
147376
- var hash = "618a25f0ce4da5f51402b0d05bd384e3b8a611aa";
147376
+ var hash = "47dcc5f1f94d98e6755457db3ae338eb12cbdddf";
147377
147377
  var global = new Function("return this")();
147378
147378
  var gcv = "__coverage__";
147379
147379
  var coverageData = {
@@ -147616,7 +147616,7 @@ function cov_1p0jklglk1() {
147616
147616
  },
147617
147617
  end: {
147618
147618
  line: 142,
147619
- column: 40
147619
+ column: 44
147620
147620
  }
147621
147621
  },
147622
147622
  "24": {
@@ -147820,7 +147820,7 @@ function cov_1p0jklglk1() {
147820
147820
  },
147821
147821
  end: {
147822
147822
  line: 142,
147823
- column: 40
147823
+ column: 44
147824
147824
  }
147825
147825
  },
147826
147826
  line: 142
@@ -148986,7 +148986,7 @@ function cov_1p0jklglk1() {
148986
148986
  "38": [0, 0]
148987
148987
  },
148988
148988
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
148989
- hash: "618a25f0ce4da5f51402b0d05bd384e3b8a611aa"
148989
+ hash: "47dcc5f1f94d98e6755457db3ae338eb12cbdddf"
148990
148990
  };
148991
148991
  var coverage = global[gcv] || (global[gcv] = {});
148992
148992
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -149166,9 +149166,10 @@ var Editor = function Editor(_ref, ref) {
149166
149166
  return {
149167
149167
  editor: editor,
149168
149168
  focus: function focus() {
149169
+ var _editor$commands, _editor$commands$focu;
149169
149170
  cov_1p0jklglk1().f[5]++;
149170
149171
  cov_1p0jklglk1().s[23]++;
149171
- return editor.commands.focus();
149172
+ return editor === null || editor === void 0 ? void 0 : (_editor$commands = editor.commands) === null || _editor$commands === void 0 ? void 0 : (_editor$commands$focu = _editor$commands.focus) === null || _editor$commands$focu === void 0 ? void 0 : _editor$commands$focu.call(_editor$commands);
149172
149173
  }
149173
149174
  };
149174
149175
  });