* Babel TS and Eslint config * Channel is archived component * Move Typing component * Move Uploads component * Add PostInput component * QuickActions components * Add PostDraft component * Remove old PostTextbox component * Rename post_textbox constant * Fix Autocomplete * Rename blur post draft event * Fix references * Feedback review * Fix autocomplete for iOS
11 lines
No EOL
573 B
JavaScript
11 lines
No EOL
573 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export const MAX_FILE_COUNT = 5;
|
|
export const IS_REACTION_REGEX = /(^\+:([^:\s]*):)$/i;
|
|
export const INSERT_TO_DRAFT = 'insert_to_draft';
|
|
export const INSERT_TO_COMMENT = 'insert_to_comment';
|
|
export const ICON_SIZE = 24;
|
|
export const ACCESSORIES_CONTAINER_NATIVE_ID = 'channelAccessoriesContainer';
|
|
export const CHANNEL_POST_TEXTBOX_CURSOR_CHANGE = 'onChannelTextBoxCursorChange';
|
|
export const CHANNEL_POST_TEXTBOX_VALUE_CHANGE = 'onChannelTextBoxValueChange'; |