X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/5d2695bd243591aa1697733184d07cdb3e67cf74..f47eee9a0cadc2f342da542cff4b95ba737a8558:/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..fd0dfc4 100644 --- a/src/editor/modules/documentCanvas/canvas/genericElement.js +++ b/src/editor/modules/documentCanvas/canvas/genericElement.js @@ -37,7 +37,7 @@ $.extend(generic, { }, refresh: function() { - if(this.wlxmlNode.getTagName() === 'span') { + if(this.wlxmlNode.getTagName() === 'span' || this.wlxmlNode.getTagName() === 'aside') { if(this.containsBlock()) { this.displayAsBlock(); } else {