X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/b729636a8bfe248aa9890a6f3bef56cbbab885fd..f4828b331965f0eae8508750aea836d8aa81a8cd:/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; },