fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
list fixes: headers, invalid elements, easier ending
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
genericElement.js
diff --git
a/src/editor/modules/documentCanvas/canvas/genericElement.js
b/src/editor/modules/documentCanvas/canvas/genericElement.js
index
8ed08bf
..
b4a4ce5
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/genericElement.js
+++ b/
src/editor/modules/documentCanvas/canvas/genericElement.js
@@
-37,7
+37,7
@@
$.extend(generic, {
},
refresh: function() {
},
refresh: function() {
- if(this.wlxmlNode.getTagName() === 'span') {
+ if(this.wlxmlNode.getTagName() === 'span'
|| this.wlxmlNode.getTagName() === 'aside'
) {
if(this.containsBlock()) {
this.displayAsBlock();
} else {
if(this.containsBlock()) {
this.displayAsBlock();
} else {
@@
-102,7
+102,7
@@
$.extend(generic, {
if(_.isBoolean(changes.active) && !isSpan) {
this._container().toggleClass('current-node-element', changes.active);
}
if(_.isBoolean(changes.active) && !isSpan) {
this._container().toggleClass('current-node-element', changes.active);
}
- }
,
+ }
});
});