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
|
@ -15,6 +15,7 @@ export type SmartCompositionTextAreaProps = Pick<
|
|||
CompositionTextAreaProps,
|
||||
| 'bodyRanges'
|
||||
| 'draftText'
|
||||
| 'isActive'
|
||||
| 'placeholder'
|
||||
| 'onChange'
|
||||
| 'onScroll'
|
||||
|
@ -43,6 +44,7 @@ export const SmartCompositionTextArea = memo(function SmartCompositionTextArea(
|
|||
{...props}
|
||||
getPreferredBadge={getPreferredBadge}
|
||||
i18n={i18n}
|
||||
isActive
|
||||
isFormattingEnabled={isFormattingEnabled}
|
||||
onPickEmoji={onPickEmoji}
|
||||
onSetSkinTone={onSetSkinTone}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue