X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/21cd91531dd9c6e88d00da03f6b2f3ad88fb0da0..b5d516652ee4cc58a8a0636074456b344126f7d7:/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js?ds=sidebyside 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';