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

bug(rich-text) no highlight on selected HR element #198

Open
yellis opened this issue Jul 17, 2022 · 0 comments
Open

bug(rich-text) no highlight on selected HR element #198

yellis opened this issue Jul 17, 2022 · 0 comments
Labels
bug Something isn't working mode - rich text Affects the editor's rich text (wysiwyg) mode

Comments

@yellis
Copy link
Contributor

yellis commented Jul 17, 2022

Describe the bug
In rich text mode an horizontal rule


does not have a selection highlight whereas surrounding paragraphs have it.

To Reproduce

  1. RT mode. Type some text, add a HR, type some more text
  2. Select all text.
  3. Observe that there is nothing indicating that the HR is selected. If you delete, it is all gone
  4. Also possible to select the bottom text and the HR, but not the top text. Deleting will delete the HR and the bottom text. So it is selected.

Expected behavior
Some visual indicator when the HR is selected

Desktop (please complete the following information):
Windows 11 Chrome 103

Additional context
https://meta.stackexchange.com/a/380447/51

@yellis yellis added bug Something isn't working mode - rich text Affects the editor's rich text (wysiwyg) mode labels Jul 17, 2022
@yellis yellis changed the title bug(richtext) no highlight on selected HR element bug(rich-text) no highlight on selected HR element Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mode - rich text Affects the editor's rich text (wysiwyg) mode
Projects
Status: Todo
Development

No branches or pull requests

1 participant