X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/affc845a8af21ea11ea4f500ed06ea2d1f8ea53d..3483b0fcb5ca9c720d914f2a5b822a40ec07390f:/project/templates/explorer/panels/htmleditor.html?ds=sidebyside diff --git a/project/templates/explorer/panels/htmleditor.html b/project/templates/explorer/panels/htmleditor.html index 45156772..3599dfed 100644 --- a/project/templates/explorer/panels/htmleditor.html +++ b/project/templates/explorer/panels/htmleditor.html @@ -1,16 +1,16 @@ +{% 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, me) { - $(document).bind('panel:contentChanged.' + id, function(event, p) { - $('.change-notification', $(me).parent()).fadeIn(); - }); - $(me).addClass('panel-htmleditor'); - }, function(event, me) { - $(me).removeClass('panel-htmleditor'); - $(document).unbind('panel:contentChanged.' + id); - }); - })() +panel_hooks = { + load: function() + + { + }, + unload: function() { + + } +}; </script>