Cannot Add 2nd Inline Format When Type (Nested Bold & Italic While Typing) #11743
Labels
[Package] Rich text
/packages/rich-text
[Priority] Low
Used to indicate that the issue at hand isn't a top priority to address and can be handled later
[Type] Bug
An existing feature does not function as intended
To Reproduce
CTRL
+I
or clicking the italic buttonCTRL
+B
or clicking the buttonThe exact buggy behavior seems to differ between browsers.
In Chrome, the current style (italic) is closed and the new one (bold) is started so you get italic text followed by bold text but not bold italic text.
In Firefox, the current style (italic) simply continues, ignoring the new one (bold), so you get only italic text. (Pictured below)
Notes:
Expected behavior
It is already possible to nest bold and italic if all the words are written and then formatted via text selection. I should be able to produce the same result as I write.
Screenshots
Firefox:
Desktop (please complete the following information):
Win 10, Firefox 63 and Chrome 70 (behavior varies, see above), WP 5.0-beta3, Twenty Nineteen, no plugins.
The text was updated successfully, but these errors were encountered: