From: Alexander Ebert Date: Thu, 2 Jul 2015 12:23:46 +0000 (+0200) Subject: Updated implementation, should now work without special hacks X-Git-Tag: 3.0.0_Beta_1~2226 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=63ba12db009e7c317845442015f678315ce8ddd1;p=GitHub%2FWoltLab%2FWCF.git Updated implementation, should now work without special hacks Some features are still missing and have not been implemented yet, this commit ensures that everyone is able to test the current implementation. --- diff --git a/com.woltlab.wcf/templates/wysiwyg.tpl b/com.woltlab.wcf/templates/wysiwyg.tpl index 84aff377ef..c8f1477bae 100644 --- a/com.woltlab.wcf/templates/wysiwyg.tpl +++ b/com.woltlab.wcf/templates/wysiwyg.tpl @@ -4,10 +4,15 @@ var __REDACTOR_BUTTONS = [ {implode from=$__wcf->getBBCodeHandler()->getButtonBB var __REDACTOR_SMILIES = { {implode from=$__wcf->getSmileyCache()->getCategorySmilies() item=smiley}'{@$smiley->smileyCode|encodeJS}': '{@$smiley->getURL()|encodeJS}'{/implode} }; var __REDACTOR_SOURCE_BBCODES = [ {implode from=$__wcf->getBBCodeHandler()->getSourceBBCodes() item=__bbcode}'{@$__bbcode->bbcodeTag}'{/implode} ]; var __REDACTOR_CODE_HIGHLIGHTERS = { {implode from=$__wcf->getBBCodeHandler()->getHighlighters() item=__highlighter}'{@$__highlighter}': '{lang}wcf.bbcode.code.{@$__highlighter}.title{/lang}'{/implode} }; - -