Using generic CSS class for editor textareas
authorAlexander Ebert <ebert@woltlab.com>
Sun, 5 Jun 2016 16:46:33 +0000 (18:46 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 5 Jun 2016 16:46:33 +0000 (18:46 +0200)
templates/conversationAdd.tpl
templates/conversationMessageInlineEditor.tpl
templates/conversationQuickReply.tpl

index ece4f92fad99016c5c12358cfb36e795f4bef164..19279ed4f7a3bad396c61a99b0335cd3f5c8ac4a 100644 (file)
@@ -92,7 +92,7 @@
                <dl class="wide{if $errorField == 'text'} formError{/if}">
                        <dt><label for="text">{lang}wcf.conversation.message{/lang}</label></dt>
                        <dd>
-                               <textarea id="text" name="text" rows="20" cols="40"
+                               <textarea id="text" name="text" class="wysiwygTextarea"
                                          data-autosave="com.woltlab.wcf.conversation.conversationAdd"
                                          data-autosave-prompt="true"
                                          data-support-mention="true"
        {event name='sections'}
        
        <div class="formSubmit">
-               <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
+               <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s">
                <button name="draft" accesskey="d" value="1">{lang}wcf.conversation.button.saveAsDraft{/lang}</button>
                {include file='messageFormPreviewButton'}
                {@SECURITY_TOKEN_INPUT_TAG}
index 6783d30cc4192e2057e69ca454b9d8a3fde3788b..b837163e2c66298e8c52e64f95b70177956d88fb 100644 (file)
@@ -1,5 +1,5 @@
 <div class="messageInlineEditor">
-       <textarea id="messageEditor{@$message->messageID}" rows="20" cols="40"
+       <textarea id="messageEditor{@$message->messageID}" class="wysiwygTextarea"
                  data-autosave="com.woltlab.wcf.conversation.messageEdit-{@$message->messageID}"
                  data-support-mention="true"
        >{$message->message}</textarea>
index a95986497f70e563e1c3bb801acb0514a89cb8dd..f8903bd852dd1ba875745bd7999a730d0aaeaa72 100644 (file)
@@ -8,7 +8,7 @@
                                        <p class="warning" style="margin-bottom: 14px">{lang}wcf.conversation.noParticipantsWarning{/lang}</p>
                                {/if}
                                
-                               <textarea id="text" name="text" rows="20" cols="40" style="width: 100%"
+                               <textarea id="text" name="text" class="wysiwygTextarea"
                                          data-autosave="com.woltlab.wcf.conversation.messageAdd-{@$conversation->conversationID}"
                                          data-support-mention="true"
                                ></textarea>