From 0de19b4f3afe4a914ffc504f3b347879e5848b81 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 6 Jun 2016 12:31:53 +0200 Subject: [PATCH] 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. --- com.woltlab.wcf/templates/wysiwyg.tpl | 151 ++++++++++++++------------ 1 file changed, 84 insertions(+), 67 deletions(-) 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} - -- 2.20.1