From: Aleksander Ɓukasz Date: Mon, 31 Mar 2014 14:54:05 +0000 (+0200) Subject: editor: tweaking canvas appearance - removing node labels X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/b7c15f28d309a6281ab7a50765822b4a83baa5a5?hp=559142e3babb7bf6d36e3e5589db947537a85754 editor: tweaking canvas appearance - removing node labels --- diff --git a/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js b/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js index 66b2ea0..9f7ecfa 100644 --- a/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js +++ b/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js @@ -69,8 +69,6 @@ $.extend(GenericManager.prototype, { this.el.setDisplayStyle(getDisplayStyle(this.el.tag(), this.el.klass())); this.el.clearWidgets(); - this.el.addWidget(widgets.labelWidget(this.el.tag(), this.el.klass())); - }, toggle: function(toggle) { this.el.toggle(toggle); @@ -137,7 +135,6 @@ var ListItemManager = function(wlxmlElement) { $.extend(ListItemManager.prototype, { setup: function() { this.el.clearWidgets(); - this.el.addWidget(widgets.labelWidget(this.el.tag(), this.el.klass())); this.el.documentElement._container().css({display: 'list-item'}); }, toggleBullet: function(toggle) { @@ -154,7 +151,6 @@ var CommentManager = function(wlxmlElement) { $.extend(CommentManager.prototype, { setup: function() { this.el.clearWidgets(); - this.el.addWidget(widgets.labelWidget(this.el.tag(), this.el.klass())); this.widget = widgets.commentAdnotation(this.el.node); this.el.addWidget(this.widget);