From 7c5409fe93f33d4762902ed0dd73f854e7aa4953 Mon Sep 17 00:00:00 2001 From: "woltlab.com" Date: Sun, 28 Aug 2016 17:47:19 +0200 Subject: [PATCH] Updating minified JavaScript files --- .../install/files/js/3rdParty/redactor2/plugins/combined.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1