Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The style of the text is lost when the text is cut #4776

Open
devajithp opened this issue Apr 22, 2024 · 0 comments
Open

The style of the text is lost when the text is cut #4776

devajithp opened this issue Apr 22, 2024 · 0 comments

Comments

@devajithp
Copy link

devajithp commented Apr 22, 2024

The use case for the bug is mentioned below:
Precondition
Library used: react-froala-wysiwyg
set keepFormatOnDelete as true in configuration

Steps

  1. Type text on editor.
  2. Set a style(eg, make font bold)
  3. Select the complete text and cut (ctrl + x)
  4. 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

Demo
9c71f137-6502-4873-b53a-02dec31582b8.webm

please use this froala sandbox to test -> https://jsfiddle.net/2ceagbjh/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant