Odd behavior when using ctlr+i to format italics #13269
Labels
[Package] Rich text
/packages/rich-text
[Type] Bug
An existing feature does not function as intended
Milestone
Describe the bug
Formatting to italics in "real time" (ie hitting ctrl+i before typing a word or passage, hitting again to end italics) results in buggy behavior. Going into italics mode is fine, but coming back into the default format within a single block of text results in the cursor jumping back a character and "hiding" it as sometimes is the case with punctuation or deleting it altogether in the case of a space, or on one occasion, jumping to the beginning of the block/paragraph, and never releasing the italics formatting. To return to the default, I must highlight the word I don't want italicized and hit ctrl+i or hit ctrl+i twice, replace the deleted character, and then may continue typing as normal. I'm using the latest version of Wordpress and I've tested this in the Brave and Chrome browsers (both are based on Chromium).
To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: