@bigbinary/neeto-editor 1.47.48 → 1.47.49

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
@@ -19852,26 +19852,6 @@ var TodoItemExtension = TaskItem.extend({
19852
19852
  },
19853
19853
  "Shift-Tab": function ShiftTab() {
19854
19854
  return _this2.editor.commands.liftListItem(_this2.name);
19855
- },
19856
- Backspace: function Backspace() {
19857
- var _this2$editor = _this2.editor,
19858
- state = _this2$editor.state,
19859
- commands = _this2$editor.commands;
19860
- var _state$selection = state.selection,
19861
- $from = _state$selection.$from,
19862
- empty = _state$selection.empty;
19863
- if (!empty) return false;
19864
- if ($from.parentOffset === 0) {
19865
- var currentNode = $from.parent;
19866
- if (currentNode.content.size === 0) {
19867
- return commands.lift(_this2.name);
19868
- }
19869
- var todoListNode = $from.node($from.depth - 1);
19870
- if ((todoListNode === null || todoListNode === void 0 ? void 0 : todoListNode.type.name) === "todoList") {
19871
- return commands.liftListItem(_this2.name);
19872
- }
19873
- }
19874
- return false;
19875
19855
  }
19876
19856
  };
19877
19857
  }