@bigbinary/neeto-editor 1.43.5 → 1.43.6

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/Editor.js CHANGED
@@ -13309,12 +13309,17 @@ var MentionList = /*#__PURE__*/function (_React$Component) {
13309
13309
  var selectedIndex = _this.state.selectedIndex;
13310
13310
  _this.selectItem(selectedIndex);
13311
13311
  });
13312
+ _defineProperty(_this, "tabHandler", function () {
13313
+ var selectedIndex = _this.state.selectedIndex;
13314
+ _this.selectItem(selectedIndex);
13315
+ });
13312
13316
  _defineProperty(_this, "onKeyDown", function (_ref) {
13313
13317
  var event = _ref.event;
13314
13318
  var keyDownHandlers = {
13315
13319
  ArrowUp: _this.upHandler,
13316
13320
  ArrowDown: _this.downHandler,
13317
- Enter: _this.enterHandler
13321
+ Enter: _this.enterHandler,
13322
+ Tab: _this.tabHandler
13318
13323
  };
13319
13324
  if (Object.prototype.hasOwnProperty.call(keyDownHandlers, event.key)) {
13320
13325
  keyDownHandlers[event.key]();