From ddbb909109cef66a32796e47cee4015a9d32f0b5 Mon Sep 17 00:00:00 2001 From: Peter Lohse Date: Sat, 2 Nov 2024 14:17:32 +0100 Subject: [PATCH] fix smileys wurden auch angezeigt wenn das Modul deaktiviert war --- files/lib/acp/form/FaqQuestionAddForm.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/lib/acp/form/FaqQuestionAddForm.class.php b/files/lib/acp/form/FaqQuestionAddForm.class.php index 0eceaab..eb1cd23 100644 --- a/files/lib/acp/form/FaqQuestionAddForm.class.php +++ b/files/lib/acp/form/FaqQuestionAddForm.class.php @@ -113,6 +113,7 @@ protected function createForm() ->label('wcf.acp.faq.question.answer') ->messageObjectType('dev.tkirch.wsc.faq.question') ->attachmentData('dev.tkirch.wsc.faq.question') + ->supportSmilies(true) ->required(), ]); } @@ -139,8 +140,8 @@ protected function createForm() : WysiwygFormContainer::create('answer') ->label('wcf.acp.faq.question.answer') ->messageObjectType('dev.tkirch.wsc.faq.question') - // ->messageLanguageItemPattern('wcf.faq.question.answer\d+') ->attachmentData('dev.tkirch.wsc.faq.question') + ->supportSmilies(true) ->required() ), FormContainer::create('position')