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