From: Marcel Werk Date: Wed, 12 Jun 2013 17:39:28 +0000 (+0200) Subject: Fixed alignment issues X-Git-Tag: 2.0.0_Beta_4~57 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d124bc6e6dfc8860917a0a02a91020a81e078211;p=GitHub%2FWoltLab%2FWCF.git Fixed alignment issues --- diff --git a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js index 7f04697f9f..edc7c7f323 100644 --- a/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js +++ b/wcfsetup/install/files/js/3rdParty/ckeditor/plugins/wbbcode/plugin.js @@ -386,6 +386,9 @@ html = html.replace(//gi, '[tr]'); html = html.replace(/<\/tr>/gi, '[/tr]'); + // [td]+[align] + html = html.replace(/([\s\S]*?)<\/td>/gi, "[td][align=$1]$2[/align][/td]"); + // [td] html = html.replace(//gi, '[td]'); html = html.replace(/<\/td>/gi, '[/td]');