From: Alexander Ebert Date: Tue, 21 Jun 2016 12:27:07 +0000 (+0200) Subject: Fixed embedded attachments being duplicated on enter X-Git-Tag: 3.0.0_Beta_1~117^2~64 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a2f4b6b5d78fa91450f3f5dcdc76e40232624de3;p=GitHub%2FWoltLab%2FWCF.git Fixed embedded attachments being duplicated on enter --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index f2e43567a1..d40e76138a 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -1723,7 +1723,7 @@ RedactorPlugins.wbbcode = function() { } this.wutil.insertDynamic( - '', + '​​', '[attach=' + attachmentID + (insertFull ? ',none,' + $imageAttachments[attachmentID].width : '') + '][/attach]' ); }