fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smartxml: signal that operation ended
[fnpeditor.git]
/
src
/
wlxml
/
extensions
/
list
/
list.js
diff --git
a/src/wlxml/extensions/list/list.js
b/src/wlxml/extensions/list/list.js
index
2487107
..
85ab751
100644
(file)
--- a/
src/wlxml/extensions/list/list.js
+++ b/
src/wlxml/extensions/list/list.js
@@
-77,6
+77,7
@@
extension.document.transformations.createList = {
nodesToWrap.forEach(function(node) {
listNode.append(node);
});
nodesToWrap.forEach(function(node) {
listNode.append(node);
});
+ return listNode;
},
getChangeRoot: function() {
return this.args[0].node1.parent();
},
getChangeRoot: function() {
return this.args[0].node1.parent();
@@
-138,7
+139,7
@@
extension.document.transformations.extractItems = {
}
reference = item;
});
}
reference = item;
});
- var secondList = params.item1.document.createDocumentNode({tagName: 'div', attrs: {'class':'list'}}),
+ var secondList = params.item1.document.createDocumentNode({tagName: 'div', attrs: {'class':
list.getClass() ||
'list'}}),
toAdd = secondList;
if(listIsNested) {
toAdd = secondList;
if(listIsNested) {