X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b157bbf02932396c65c0aca9638c96200c4665df..320fd24b68185b73f1180c425271e037331baa46:/project/templates/explorer/panels/htmleditor.html?ds=inline

diff --git a/project/templates/explorer/panels/htmleditor.html b/project/templates/explorer/panels/htmleditor.html
index 3b1791e1..d27d8cc7 100644
--- a/project/templates/explorer/panels/htmleditor.html
+++ b/project/templates/explorer/panels/htmleditor.html
@@ -1,18 +1,15 @@
-<div class="panel">
-    <div class="htmleditor">
-        {{ html|safe }}
-    </div>
-</div>
+{% load toolbar_tags %}
+{% toolbar toolbar_groups toolbar_extra_group %}
+
+{{ html|safe }}
+
 <script type="text/javascript" charset="utf-8">
-    (function() {
-        var id = Math.ceil(Math.random() * 1000000000);
-        
-        panel(function(event, panel) {
-            $(document).bind('panel:contentChanged.' + id, function(event, p) {
-                $('.change-notification', $(panel).parent()).fadeIn();
-            })
-        }, function(event, panel) {
-            $(document).unbind('panel:contentChanged.' + id);
-        });
-    })()
-</script>
\ No newline at end of file
+panel_hooks = {
+	load: function() {
+            this._endload();	
+	},
+	unload: function() {
+
+	}
+};
+</script>