Skip to content

Inline boundaries don't work properly when using multiple inline formats #12973

@youknowriad

Description

@youknowriad

Describe the bug

I have the following content in my post

<!-- wp:paragraph -->
<p><em>italic <code>code</code></em></p>
<!-- /wp:paragraph -->

Notice that it's impossible to move the caret after the code element, but before still inside the em to continue typing italic text.

Expected behavior
I expected the first right arrow key presse to go out of the code element but stay inside the em and the second one to go out of the em

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Package] Rich text/packages/rich-text[Priority] HighUsed to indicate top priority items that need quick attention[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions