From: Alexander Ebert Date: Mon, 6 Jun 2016 10:31:53 +0000 (+0200) Subject: Using head.js to load Redactor X-Git-Tag: 3.0.0_Beta_1~1518 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0de19b4f3afe4a914ffc504f3b347879e5848b81;p=GitHub%2FWoltLab%2FWCF.git Using head.js to load Redactor Using simple script tags caused some issues because redactor.js was executed again if loaded via AJAX and thus cause the internal uuid to be reset. This led to major issues including duplicate ids being generated. --- diff --git a/com.woltlab.wcf/templates/wysiwyg.tpl b/com.woltlab.wcf/templates/wysiwyg.tpl index bba558da81..d7fbcb59fb 100644 --- a/com.woltlab.wcf/templates/wysiwyg.tpl +++ b/com.woltlab.wcf/templates/wysiwyg.tpl @@ -8,73 +8,90 @@ } -{if ENABLE_DEBUG_MODE} - {* Imperavi *} - - - - - - {* WoltLab *} - - - - - - - - - - - -{else} - - -{/if} -