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

Write new text in multiple formats #13087

Closed
Tug opened this issue Dec 24, 2018 · 3 comments
Closed

Write new text in multiple formats #13087

Tug opened this issue Dec 24, 2018 · 3 comments
Labels
[Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Bug An existing feature does not function as intended

Comments

@Tug
Copy link
Contributor

Tug commented Dec 24, 2018

Describe the bug
It's currently not possible to write bold and italic text (or any other combination).

To Reproduce
Steps to reproduce the behavior:

  1. Go to the editor in visual mode
  2. Create an empty paragraph block
  3. See the block toolbar is not visible yet (1)
  4. Write something so the block toolbar becomes visible
  5. Select bold and italic and start typing again
  6. Notice you're typic in italic, not bold italic (2)
  7. Notice nor bold nor italic is marked as active (3) while you write in italic
  8. Write a word in bold at the end of your text then place your cursor at the beginning of the bold text.
  9. Start typing in the current format, notice bold is selected even though you're typing without formatting (4)
  10. Click on bold to start typing in bold and notice the formatting on the bold word you added is removed (5)

Expected behavior
You should be typing in bold italic and both format should be selected while you type.
Imo, we should probably use the previous character's format to determine the active format.

Screenshots
image

Desktop:

  • OS: macos
  • Browser Chrome
  • Version 71.0.3578.98

Additional context

@Tug Tug added [Type] Bug An existing feature does not function as intended [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... labels Dec 24, 2018
@gziolo
Copy link
Member

gziolo commented Jan 2, 2019

It's a known issue. It duplicates #11091. Does this issue is also transferred to the mobile app? It would be nice to identify whether it is related to TinyMCE or the way we manage the internal representation of rich text component.

Let's discuss in #11091. I'm closing this one.

@koke
Copy link
Contributor

koke commented Jan 14, 2019

I assume you meant #11091?

@gziolo
Copy link
Member

gziolo commented Jan 14, 2019

Yes, I updated my comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants