From 7e2844075bbdff6c581dcfcf5e5bf8c4ead40584 Mon Sep 17 00:00:00 2001 From: "Dalip Dalip -X (ddalip - ALTRAN ACT at Cisco)" Date: Tue, 7 Jul 2020 17:33:38 +0530 Subject: [PATCH] fix(composer): message copy paste format bug --- src/components/ComposerQuill/composer.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/components/ComposerQuill/composer.js b/src/components/ComposerQuill/composer.js index fcbdcf9..b8a4e0e 100644 --- a/src/components/ComposerQuill/composer.js +++ b/src/components/ComposerQuill/composer.js @@ -108,7 +108,20 @@ class Composer extends React.Component { container: '#toolbar', }, }, - formats: ['mention'], + formats: [ + // add format to enable during copy and paste + 'mention', + 'bold', + 'list', + 'italic', + 'size', + 'strike', + 'underline', + 'blockquote', + 'indent', + 'header', + 'direction', + ], placeholder, });