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

RichText: Using formats at the boundaries doesn't work as expected #11326

Closed
gziolo opened this issue Oct 31, 2018 · 1 comment
Closed

RichText: Using formats at the boundaries doesn't work as expected #11326

gziolo opened this issue Oct 31, 2018 · 1 comment
Assignees
Labels
[Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Regression Related to a regression in the latest release
Milestone

Comments

@gziolo
Copy link
Member

gziolo commented Oct 31, 2018

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Add new block containing RichText control (Paragraph, List, etc)
  2. Write any text.
  3. Select some text and make it bold (or italic, underline, whatever).
  4. Move the cursor at the end of selection.
  5. You will notice that the block toolbar no longer highlights applied formater and it hides after a brief time.
  6. When you continue typing from the end of the selection, format will continue to be applied.
  7. No move the cursor to the beginning of the selection. Actually one keypress before.
  8. UI shows that format option is still selected and toolbar can be see.
  9. When you start typing you don't see format applied but UI tells something else.

Expected behavior
Formats should be properly applied with the proper visual state of Block Toolbar controls.

Screenshots
typing at the end of selection

Desktop:

  • OS: macOS
  • Browser: Chrome
  • Version: the latest
@gziolo gziolo added [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Type] Regression Related to a regression in the latest release labels Oct 31, 2018
@gziolo gziolo added this to the 4.2 milestone Oct 31, 2018
@gziolo gziolo self-assigned this Oct 31, 2018
@ellatrix
Copy link
Member

ellatrix commented Nov 1, 2018

Sounds like a duplicate of #11091.

@gziolo gziolo closed this as completed Nov 1, 2018
@designsimply designsimply added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed [Type] Regression Related to a regression in the latest release
Projects
None yet
Development

No branches or pull requests

3 participants