From 4070d5d44c4ed107bfba9d5e373668321bc29fd4 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 21 Aug 2016 22:25:11 +0200 Subject: [PATCH] Revamped quotes to bypass Redactor's limitations --- .../templates/messageQuoteList.tpl | 2 +- com.woltlab.wcf/templates/wysiwyg.tpl | 13 +++ .../redactor2/plugins/WoltLabBlock.js | 50 ++++++++++ .../redactor2/plugins/WoltLabKeydown.js | 10 ++ .../redactor2/plugins/WoltLabParagraphize.js | 31 ++++++ .../redactor2/plugins/WoltLabQuote.js | 6 ++ .../redactor2/plugins/WoltLabSpoiler.js | 6 ++ wcfsetup/install/files/js/WCF.Message.js | 2 +- .../js/WoltLabSuite/Core/Ui/Redactor/Quote.js | 94 ++++++++----------- .../WoltLabSuite/Core/Ui/Redactor/Spoiler.js | 6 -- .../filter/MessageHtmlInputFilter.class.php | 10 +- ...p => HtmlOutputNodeWoltlabQuote.class.php} | 6 +- .../install/files/style/bbcode/quote.scss | 5 +- 13 files changed, 171 insertions(+), 70 deletions(-) create mode 100644 wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabParagraphize.js rename wcfsetup/install/files/lib/system/html/output/node/{HtmlOutputNodeBlockquote.class.php => HtmlOutputNodeWoltlabQuote.class.php} (93%) diff --git a/com.woltlab.wcf/templates/messageQuoteList.tpl b/com.woltlab.wcf/templates/messageQuoteList.tpl index 0e6a7b51b2..77441efd8f 100644 --- a/com.woltlab.wcf/templates/messageQuoteList.tpl +++ b/com.woltlab.wcf/templates/messageQuoteList.tpl @@ -33,7 +33,7 @@