mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
compose: Refactor functions for handling max length limits.
Refactors `check_overflow_text` and `validate_message_length` functions. This commit ensures that there won't be any change in the existing UI of the compose box with the refactoring of the above functions.
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
</div>
|
||||
<div class="messagebox">
|
||||
<div id="message-content-container" class="surround-formatting-buttons-row">
|
||||
<textarea class="new_message_textarea" name="content" id='compose-textarea' placeholder="{{t 'Compose your message here' }}" tabindex="0" aria-label="{{t 'Compose your message here...' }}"></textarea>
|
||||
<textarea class="new_message_textarea message-textarea" name="content" id='compose-textarea' placeholder="{{t 'Compose your message here' }}" tabindex="0" aria-label="{{t 'Compose your message here...' }}"></textarea>
|
||||
<div id="preview-message-area-container">
|
||||
<div class="scrolling_list preview_message_area" data-simplebar data-simplebar-tab-index="-1" id="preview_message_area" style="display:none;">
|
||||
<div class="markdown_preview_spinner"></div>
|
||||
|
||||
Reference in New Issue
Block a user