@bigbinary/neeto-editor 1.47.4 → 1.47.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.
@@ -5822,7 +5822,12 @@ var BulletList = BulletList$1.extend({
5822
5822
  return commands.deleteCurrentNode();
5823
5823
  }
5824
5824
  if (currentIndex === 0) {
5825
- return commands.joinBackward();
5825
+ var before = state.doc.resolve($from.before($from.depth));
5826
+ var beforeNode = before.nodeBefore;
5827
+ if (beforeNode && isListNode(beforeNode)) {
5828
+ return commands.joinBackward();
5829
+ }
5830
+ return commands.deleteCurrentNode();
5826
5831
  }
5827
5832
 
5828
5833
  // Delete the empty paragraph node between the two lists.