[FIX] website editor: Enter in ordered list is not properly working every new record takes the value 1 rather then incrementing it

This commit is contained in:
Christophe Matthieu
2015-01-08 11:01:42 +01:00
parent 95d50c2f73
commit d2892b3f3d
+1 -1
View File
@@ -1022,7 +1022,7 @@ define(['summernote/editing/Editor', 'summernote/summernote'], function (Editor)
var node = dom.node(r.sc);
var last = node;
while (node && dom.isSplitable(node)) {
while (node && dom.isSplitable(node) && !dom.isList(node)) {
last = node;
node = node.parentNode;
}