X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/abd8692003a505de041558bd43f0ce1e884e8bbd..e9aaf1e41c5e695136d06f008c06b287da7d3eda:/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js?ds=sidebyside diff --git a/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js b/src/editor/modules/documentCanvas/canvas/wlxmlManagers.js index 66b2ea0..6b8b5ff 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,8 +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) { this.el.documentElement._container().css({display : toggle ? 'list-item' : 'block'}); @@ -154,7 +150,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);