X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/21cd91531dd9c6e88d00da03f6b2f3ad88fb0da0..aa2d1772f5df4aa0e43d993b0db857504901e491:/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';