From: Alexander Ebert Date: Sat, 13 Dec 2014 13:48:33 +0000 (+0100) Subject: Previous commit did not fix all issues w/ resize handles X-Git-Tag: 2.1.0_Beta_1~43 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=17d5f54901aabeb7b0e5d7db5eb356431098aba6;p=GitHub%2FWoltLab%2FWCF.git Previous commit did not fix all issues w/ resize handles --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index 01a04d334b..4f79f8e71c 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -1368,6 +1368,11 @@ RedactorPlugins.wbbcode = function() { var $outerDiv = $editHeader.parent().parent(); $outerDiv.attr('contenteditable', false); $outerDiv.children('div').attr('contenteditable', true); + + // prevent resize handles being displayed + $outerDiv.on('mscontrolselect', function(event) { + event.preventDefault(); + }); } }).bind(this)); }