fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplifying toolbar list button
[fnpeditor.git]
/
modules
/
documentCanvas
/
canvas
/
wlxmlManagers.js
diff --git
a/modules/documentCanvas/canvas/wlxmlManagers.js
b/modules/documentCanvas/canvas/wlxmlManagers.js
index
8973a6c
..
b28b022
100644
(file)
--- a/
modules/documentCanvas/canvas/wlxmlManagers.js
+++ b/
modules/documentCanvas/canvas/wlxmlManagers.js
@@
-19,8
+19,8
@@
var DocumentElementWrapper = function(documentElement) {
}
this.setDisplayStyle = function(displayStyle) {
}
this.setDisplayStyle = function(displayStyle) {
- documentElement.dom().css('display', displayStyle);
- documentElement._container().css('display', displayStyle);
+ documentElement.dom().css('display', displayStyle
|| ''
);
+ documentElement._container().css('display', displayStyle
|| ''
);
};
this.tag = function() {
};
this.tag = function() {
@@
-48,6
+48,8
@@
var getDisplayStyle = function(tag, klass) {
return 'none';
if(tag === 'span')
return 'inline';
return 'none';
if(tag === 'span')
return 'inline';
+ if(klass === 'item')
+ return null;
return 'block';
}
return 'block';
}