From: Aleksander Ɓukasz Date: Tue, 22 Apr 2014 10:35:52 +0000 (+0200) Subject: wlxml: lists - createList returns created list node X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/de22ea374455fb4c8c626cab04b051be4b2fc6ab?ds=inline;hp=4ab522037ab350b3f0257130bc6e4dbc6f183021 wlxml: lists - createList returns created list node --- diff --git a/src/wlxml/extensions/list/list.js b/src/wlxml/extensions/list/list.js index 2a996ac..85ab751 100644 --- 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); }); + return listNode; }, getChangeRoot: function() { return this.args[0].node1.parent();