From: Matthias Schmidt Date: Mon, 5 Jul 2021 11:54:06 +0000 (+0200) Subject: Use `Ui/Message/Quote` instead of `WCF.Conversation.Message.QuoteHandler` X-Git-Tag: 5.5.0_Alpha_1~56^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e390b44a793dff9ad0c07c50fbb8a9155f443a06;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.conversation.git Use `Ui/Message/Quote` instead of `WCF.Conversation.Message.QuoteHandler` --- diff --git a/templates/conversation.tpl b/templates/conversation.tpl index 829e042..517bcd3 100644 --- a/templates/conversation.tpl +++ b/templates/conversation.tpl @@ -143,7 +143,10 @@ {include file='__messageQuoteManager' wysiwygSelector='text' supportPaste=$__supportPaste} new WCF.Conversation.Message.InlineEditor({@$conversation->conversationID}, $quoteManager); - new WCF.Conversation.Message.QuoteHandler($quoteManager); + + require(["WoltLabSuite/Core/Conversation/Ui/Message/Quote"], ({ UiConversationMessageQuote }) => { + new UiConversationMessageQuote($quoteManager); + }); {if $conversation->canReply()} require(['WoltLabSuite/Core/Ui/Message/Reply'], function(UiMessageReply) {