<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}
<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>
<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>