From f0aff717ea3bfc026c70c6225c5e4b8de23f87b5 Mon Sep 17 00:00:00 2001 From: "woltlab.com" Date: Thu, 2 Jun 2016 13:24:17 +0200 Subject: [PATCH] Updating minified JavaScript files --- .../redactor2/plugins/combined.min.js | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js new file mode 100644 index 0000000000..bb48a8c472 --- /dev/null +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js @@ -0,0 +1,28 @@ +// alignment.js +!function(t){t.Redactor.prototype.alignment=function(){return{langs:{en:{align:"Align","align-left":"Align Left","align-center":"Align Center","align-right":"Align Right"}},init:function(){var t=this,e={};e.left={title:t.lang.get("align-left"),func:t.alignment.setLeft},e.center={title:t.lang.get("align-center"),func:t.alignment.setCenter},e.right={title:t.lang.get("align-right"),func:t.alignment.setRight};var n=this.button.add("alignment",this.lang.get("align"));this.button.addDropdown(n,e)},removeAlign:function(){this.block.removeClass("text-center"),this.block.removeClass("text-right")},setLeft:function(){this.buffer.set(),this.alignment.removeAlign()},setCenter:function(){this.buffer.set(),this.alignment.removeAlign(),this.block.addClass("text-center")},setRight:function(){this.buffer.set(),this.alignment.removeAlign(),this.block.addClass("text-right")}}}}(jQuery); +// source.js +!function(t){t.Redactor.prototype.source=function(){return{init:function(){var e=this.button.addFirst("html","HTML");this.button.addCallback(e,this.source.toggle);var s={width:"100%",margin:"0",background:"#111","box-sizing":"border-box",color:"rgba(255, 255, 255, .8)","font-size":"14px",outline:"none",padding:"16px","line-height":"22px","font-family":'Menlo, Monaco, Consolas, "Courier New", monospace'};this.source.$textarea=t("