@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.cjs.js CHANGED
@@ -147401,7 +147401,7 @@ var Menu = function Menu(props) {
147401
147401
  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"];
147402
147402
  function cov_1p0jklglk1() {
147403
147403
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/index.jsx";
147404
- var hash = "618a25f0ce4da5f51402b0d05bd384e3b8a611aa";
147404
+ var hash = "47dcc5f1f94d98e6755457db3ae338eb12cbdddf";
147405
147405
  var global = new Function("return this")();
147406
147406
  var gcv = "__coverage__";
147407
147407
  var coverageData = {
@@ -147644,7 +147644,7 @@ function cov_1p0jklglk1() {
147644
147644
  },
147645
147645
  end: {
147646
147646
  line: 142,
147647
- column: 40
147647
+ column: 44
147648
147648
  }
147649
147649
  },
147650
147650
  "24": {
@@ -147848,7 +147848,7 @@ function cov_1p0jklglk1() {
147848
147848
  },
147849
147849
  end: {
147850
147850
  line: 142,
147851
- column: 40
147851
+ column: 44
147852
147852
  }
147853
147853
  },
147854
147854
  line: 142
@@ -149014,7 +149014,7 @@ function cov_1p0jklglk1() {
149014
149014
  "38": [0, 0]
149015
149015
  },
149016
149016
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
149017
- hash: "618a25f0ce4da5f51402b0d05bd384e3b8a611aa"
149017
+ hash: "47dcc5f1f94d98e6755457db3ae338eb12cbdddf"
149018
149018
  };
149019
149019
  var coverage = global[gcv] || (global[gcv] = {});
149020
149020
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -149194,9 +149194,10 @@ var Editor = function Editor(_ref, ref) {
149194
149194
  return {
149195
149195
  editor: editor,
149196
149196
  focus: function focus() {
149197
+ var _editor$commands, _editor$commands$focu;
149197
149198
  cov_1p0jklglk1().f[5]++;
149198
149199
  cov_1p0jklglk1().s[23]++;
149199
- return editor.commands.focus();
149200
+ 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);
149200
149201
  }
149201
149202
  };
149202
149203
  });