@bigbinary/neeto-editor 1.45.1 → 1.45.2
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 +7 -1
- package/dist/Editor.js.map +1 -1
- package/dist/cjs/Editor.cjs.js +7 -1
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/editor-stats.html +1 -1
- package/package.json +1 -1
package/dist/Editor.js
CHANGED
|
@@ -5539,7 +5539,13 @@ var BulletList = BulletList$1.extend({
|
|
|
5539
5539
|
if (isListNode(prevNode)) {
|
|
5540
5540
|
return commands.deleteCurrentNode();
|
|
5541
5541
|
}
|
|
5542
|
-
|
|
5542
|
+
|
|
5543
|
+
// Check if the current node and previous node are compatible for join
|
|
5544
|
+
var prevListItem = $from.node($from.depth - 2);
|
|
5545
|
+
if (prevListItem && isListNode(prevListItem)) {
|
|
5546
|
+
return commands.joinBackward();
|
|
5547
|
+
}
|
|
5548
|
+
return commands.deleteCurrentNode();
|
|
5543
5549
|
});
|
|
5544
5550
|
}
|
|
5545
5551
|
};
|