Facing an issue in froala text editor, style of the text is lost when the text is cut
Devajith
Posted on April 23, 2024
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/
💖 💪 🙅 🚩
Devajith
Posted on April 23, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
froala Facing an issue in froala text editor, style of the text is lost when the text is cut
April 23, 2024