From: woltlab.com Date: Sun, 28 Aug 2016 15:47:19 +0000 (+0200) Subject: Updating minified JavaScript files X-Git-Tag: 3.0.0_Beta_1~434 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7c5409fe93f33d4762902ed0dd73f854e7aa4953;p=GitHub%2FWoltLab%2FWCF.git Updating minified JavaScript files --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js index 17dcbfeb42..f6c0a06263 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js @@ -31,7 +31,7 @@ $.Redactor.prototype.WoltLabImage=function(){"use strict";return{init:function() // WoltLabInlineCode.js $.Redactor.prototype.WoltLabInlineCode=function(){"use strict";return{init:function(){this.opts.activeButtonsStates.kbd="tt",require(["EventHandler"],function(t){t.add("com.woltlab.wcf.redactor2","bbcode_tt_"+this.$element[0].id,function(t){t.cancel=!0,this.button.toggle({},"kbd","func","inline.format")}.bind(this))}.bind(this))}}}; // WoltLabInsert.js -$.Redactor.prototype.WoltLabInsert=function(){"use strict";return{init:function(){var t=this.opts.woltlab.placeholderCallback,e=this.insert.html;this.insert.html=function(i,n){t&&(t=t()),this.placeholder.hide(),this.core.editor().focus();var l=this.selection.block();e.call(this,i,n),l&&"P"===l.nodeName&&l.nextElementSibling&&!l.childElementCount&&""===l.textContent.replace(/\u200B/g,"").trim()&&elRemove(l)}.bind(this);var i=this.insert.text;this.insert.text=function(e){t&&(t=t()),i.call(this,e)}.bind(this)}}}; +$.Redactor.prototype.WoltLabInsert=function(){"use strict";return{init:function(){var t=this.opts.woltlab.placeholderCallback,e=this.insert.html;this.insert.html=function(i,n){t&&(t=t()),this.placeholder.hide(),this.core.editor().focus();var l=this.selection.block();if(e.call(this,i,n),l&&"P"===l.nodeName&&l.nextElementSibling){var o=!1;0===l.childElementCount&&""===l.textContent.replace(/\u200B/g,"").trim()?o=!0:1===l.childElementCount&&"
"===l.innerHTML&&(o=!0),o&&elRemove(l)}}.bind(this);var i=this.insert.text;this.insert.text=function(e){t&&(t=t()),i.call(this,e)}.bind(this)}}}; // WoltLabKeydown.js $.Redactor.prototype.WoltLabKeydown=function(){"use strict";var t=[];return{init:function(){this.keydown.onArrowDown=function(){for(var t=this.WoltLabKeydown._getBlocks(),e=0;en;n++)e.push(this.utils.isTag(this.keydown.current,t[n]));return e}}}; // WoltLabLink.js