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

Can't Select Bold/Italic and Type with Format from Start of List Item #11741

Closed
mrwweb opened this issue Nov 11, 2018 · 1 comment · Fixed by #13697
Closed

Can't Select Bold/Italic and Type with Format from Start of List Item #11741

mrwweb opened this issue Nov 11, 2018 · 1 comment · Fixed by #13697
Labels
[Block] List Affects the List Block [Package] Rich text /packages/rich-text [Type] Bug An existing feature does not function as intended

Comments

@mrwweb
Copy link

mrwweb commented Nov 11, 2018

Describe the bug
It's current impossible to select an inline format (bold and italic tests) from the start of any list item (empty or not) except the first and then type with that format.

To Reproduce
Steps to reproduce the behavior:

  1. Make a list block.
  2. Type in the first item
  3. Start a second list item
  4. Click the "Bold" format or press CTRL + B (also works for Italic button / CTRL + I)
  5. Type

Result: Text is unformatted (not bold in this example).

Expected behavior
I should be able to format the beginning of a list item. This is common especially for a pattern like this:

  • Topic 1: This is the first topic.
  • Topic 2: This is different from the first topic.

Screenshots
demonstrating the steps to reproduce above

Desktop (please complete the following information):
Win 10, Firefox 63 and Chrome 70, WP 5.0-beta3, no plugins, Twenty Nineteen

@designsimply designsimply added the Needs Testing Needs further testing to be confirmed. label Nov 11, 2018
@designsimply
Copy link
Member

Tested and confirmed that the writing formatters such as bold, italic, and strikethrough are unresponsive if the caret is in the first position for any list item except the first list item. If the caret is in the first position for the first list item, the formatters affect the entire list. (1m23s)

Tested with WordPress 4.9.8 and Gutenberg 4.3 using Firefox 63.0.1 on macOS 10.13.6.

@designsimply designsimply added [Type] Bug An existing feature does not function as intended [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... [Block] List Affects the List Block and removed Needs Testing Needs further testing to be confirmed. labels Nov 12, 2018
@ellatrix ellatrix added [Package] Rich text /packages/rich-text and removed [Feature] Writing Flow Block selection, navigation, splitting, merging, deletion... labels Jan 31, 2019
This was referenced Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] List Affects the List Block [Package] Rich text /packages/rich-text [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants