The use case for the bug is mentioned below:
Precondition
Library used: react-froala-wysiwyg
set keepFormatOnDelete as true in configuration
Steps
Type text on editor.
Set a style(eg, make font bold)
Select the complete text and cut (ctrl + x)
Start typing again
Issue
style of text lost (ie, font is not bold)
Expected result
text should be in bold as we set keepFormatOnDelete as true in configuration
please use this froala sandbox to test -> https://jsfiddle.net/2ceagbjh/