Add smiley picker to comment WYSIWYG
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 3 Jul 2020 09:04:53 +0000 (11:04 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 3 Jul 2020 09:05:08 +0000 (11:05 +0200)
Resolves #3252

com.woltlab.wcf/templates/commentEditor.tpl
com.woltlab.wcf/templates/commentListAddComment.tpl
com.woltlab.wcf/templates/commentResponseEditor.tpl

index 2729e622a1e50a29a11c7e55858613848ed1f7bd..0e59727e94c6731a1f8efcb634ce0c36caf18798 100644 (file)
@@ -3,7 +3,7 @@
           data-disable-attachments="true"
           data-disable-media="true"
 >{$comment->message}</textarea>
-{*include file='messageFormTabsInline'*}
+{include file='messageFormTabsInline'}
 
 <div class="formSubmit">
        <button class="buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>
index 0534cc8c8a5ed6b69a774b736c5a261205f0a351..9efcc2da8034586560350467fec75318faf45b3b 100644 (file)
@@ -10,6 +10,7 @@
                                  data-disable-attachments="true"
                                  data-disable-media="true"
                        ></textarea>
+                       {include file='messageFormTabsInline'}
                        
                        {* in-template call for full backwards-compatibility *}
                        {$commentList->getCommentManager()->setDisallowedBBCodes()}
@@ -40,6 +41,7 @@
                                          data-disable-attachments="true"
                                          data-disable-media="true"
                                ></textarea>
+                               {include file='messageFormTabsInline' wysiwygSelector=$_commentResponseWysiwygSelector}
                                
                                {* in-template call for full backwards-compatibility *}
                                {$commentList->getCommentManager()->setDisallowedBBCodes()}
index c8a0b0beca9cf7b755f4b33c0ad9ce76ddd72cd0..6dbae7762ab74e84c109719c447436039a27106d 100644 (file)
@@ -3,7 +3,7 @@
           data-disable-attachments="true"
           data-disable-media="true"
 >{$response->message}</textarea>
-{*include file='messageFormTabsInline'*}
+{include file='messageFormTabsInline'}
 
 <div class="formSubmit">
        <button class="buttonPrimary" data-type="save" accesskey="s">{lang}wcf.global.button.submit{/lang}</button>