@bigbinary/neeto-editor 1.47.4 → 1.47.5

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
@@ -5802,7 +5802,12 @@ var BulletList = BulletList$1.extend({
5802
5802
  return commands.deleteCurrentNode();
5803
5803
  }
5804
5804
  if (currentIndex === 0) {
5805
- return commands.joinBackward();
5805
+ var before = state.doc.resolve($from.before($from.depth));
5806
+ var beforeNode = before.nodeBefore;
5807
+ if (beforeNode && isListNode(beforeNode)) {
5808
+ return commands.joinBackward();
5809
+ }
5810
+ return commands.deleteCurrentNode();
5806
5811
  }
5807
5812
 
5808
5813
  // Delete the empty paragraph node between the two lists.