X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9692d9e3014b32a2e159ad6f95acb7fc387a83e2..4ab522037ab350b3f0257130bc6e4dbc6f183021:/src/wlxml/extensions/list/list.js diff --git a/src/wlxml/extensions/list/list.js b/src/wlxml/extensions/list/list.js index 2487107..2a996ac 100644 --- a/src/wlxml/extensions/list/list.js +++ b/src/wlxml/extensions/list/list.js @@ -138,7 +138,7 @@ extension.document.transformations.extractItems = { } reference = item; }); - var secondList = params.item1.document.createDocumentNode({tagName: 'div', attrs: {'class':'list'}}), + var secondList = params.item1.document.createDocumentNode({tagName: 'div', attrs: {'class': list.getClass() || 'list'}}), toAdd = secondList; if(listIsNested) {