X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/b729636a8bfe248aa9890a6f3bef56cbbab885fd..7a67ffc356936a4eec4243df03fab2ad1c66c9b9:/src/wlxml/extensions/list/list.js diff --git a/src/wlxml/extensions/list/list.js b/src/wlxml/extensions/list/list.js index 75b5336..6cac91b 100644 --- a/src/wlxml/extensions/list/list.js +++ b/src/wlxml/extensions/list/list.js @@ -135,7 +135,7 @@ extension.document.transformations.extractItems = { reference.after(toAdd); } if(!params.merge && listIsNested) { - return this.transform('extractItems', {item1: extractedItems[0], item2: extractedItems[extractedItems.length-1]}); + return this.extractItems({item1: extractedItems[0], item2: extractedItems[extractedItems.length-1]}); } return true; },