fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactoring: fromHTMLElement @ canvas, no need to pass canvas instance
[fnpeditor.git]
/
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
1078218
..
a35c079
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/wlxmlManagers.js
+++ b/
src/editor/modules/documentCanvas/canvas/wlxmlManagers.js
@@
-55,6
+55,9
@@
var getDisplayStyle = function(tag, klass) {
if(klass && klass.substr(0, 4) === 'item') {
return null;
}
if(klass && klass.substr(0, 4) === 'item') {
return null;
}
+ if(klass === 'gap') {
+ return 'inline';
+ }
return 'block';
};
return 'block';
};