From 17d5f54901aabeb7b0e5d7db5eb356431098aba6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 13 Dec 2014 14:48:33 +0100 Subject: [PATCH] Previous commit did not fix all issues w/ resize handles --- .../install/files/js/3rdParty/redactor/plugins/wbbcode.js | 5 +++++ 1 file changed, 5 insertions(+) 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)); } -- 2.20.1