X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/21cd91531dd9c6e88d00da03f6b2f3ad88fb0da0..83754888235eb240748983ec871475a69dfe7a42:/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js diff --git a/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js b/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js index c643a88..27b4605 100644 --- a/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js +++ b/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js @@ -50,7 +50,7 @@ var getDisplayStyle = function(tag, klass) { if(tag === 'span') { return 'inline'; } - if(klass === 'item') { + if(klass && klass.substr(0, 4) === 'item') { return null; } return 'block';