X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fa300c83de0c9788beb4e833c2003618e7d20646..0a8fdf777d7f183cb83b3db47c23c12e7cfc6c45:/project/templates/explorer/panels/xmleditor.html diff --git a/project/templates/explorer/panels/xmleditor.html b/project/templates/explorer/panels/xmleditor.html index ea4c4433..9186f04a 100644 --- a/project/templates/explorer/panels/xmleditor.html +++ b/project/templates/explorer/panels/xmleditor.html @@ -6,50 +6,85 @@ - + + $(texteditor.frame).css({width: '100%', height: '100%'}); + + $('#toolbar-buttons li').wTooltip({ + delay: 1000, + style: { + border: "1px solid #7F7D67", + opacity: 0.9, + background: "#FBFBC6", + padding: "1px", + fontSize: "12px", + } + }); + + this.texteditor = texteditor; + }, + + unload: function() { + this.texteditor = null; + }, + + saveInfo: function(hn, saveInfo) { + var myInfo = {content: this.texteditor.getCode(), dataType: 'xml'}; + $.extend(saveInfo, myInfo); + } +}; + +