Facing an issue in froala text editor, style of the text is lost when the text is cut

RMAG news

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/

Leave a Reply

Your email address will not be published. Required fields are marked *