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

Incorrect application of bullet points when typing on a new line in RichText editor #96

Open
piyumantha-perera opened this issue May 17, 2023 · 0 comments
Labels

Comments

@piyumantha-perera
Copy link

In the webfashionist/RichText library, there is an issue with the behavior of bullet points when typing on a new line in the editor. After pressing Enter to move to a new line, creating a bullet point by using the appropriate formatting option does not create a new bullet point as expected. Instead, the bullet point is applied to the previous text on the top.

Steps to reproduce:

  • Open the RichText editor.
  • Type some text and press Enter to move to a new line.
  • Without selecting any specific line, click the bullet point formatting option.

Expected behavior:

  • A new bullet point should be created at the current line, separate from the previous text.

Actual behavior:

  • The bullet point formatting is mistakenly applied to the previous text on the top, rather than creating a new bullet point.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants