From de22ea374455fb4c8c626cab04b051be4b2fc6ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 22 Apr 2014 12:35:52 +0200 Subject: [PATCH 1/1] wlxml: lists - createList returns created list node --- src/wlxml/extensions/list/list.js | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.20.1