Disable pasting in composer when in background
This commit is contained in:
parent
b315162676
commit
5dcb42f964
14 changed files with 57 additions and 4 deletions
|
@ -21,6 +21,7 @@ import * as grapheme from '../util/grapheme';
|
|||
export type CompositionTextAreaProps = {
|
||||
bodyRanges: HydratedBodyRangesType | null;
|
||||
i18n: LocalizerType;
|
||||
isActive: boolean;
|
||||
isFormattingEnabled: boolean;
|
||||
maxLength?: number;
|
||||
placeholder?: string;
|
||||
|
@ -58,6 +59,7 @@ export function CompositionTextArea({
|
|||
draftText,
|
||||
getPreferredBadge,
|
||||
i18n,
|
||||
isActive,
|
||||
isFormattingEnabled,
|
||||
maxLength,
|
||||
onChange,
|
||||
|
@ -139,6 +141,7 @@ export function CompositionTextArea({
|
|||
getPreferredBadge={getPreferredBadge}
|
||||
getQuotedMessage={noop}
|
||||
i18n={i18n}
|
||||
isActive={isActive}
|
||||
isFormattingEnabled={isFormattingEnabled}
|
||||
inputApi={inputApiRef}
|
||||
large
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue