Skip to content

Highlight text color selection is not preserved when cursor is placed in the middle of text #42714

@dcalhoun

Description

@dcalhoun

Description

If the cursor is placed in the middle of Paragraph text, setting the color has no impact on newly typed text.

Step-by-step reproduction instructions

  1. Add text to a Paragraph block.
  2. Move cursor to the middle of the text.
  3. Set a different color.
  4. Begin typing.

Expected behaviour

The typed text is displayed in the selected color.

Actual behaviour

The type text is displayed in the default theme color.

Screenshots or screen recording (optional)

UX Recording
RPReplay_Final1658863804.MP4

WordPress information

  • WordPress version: 6.0
  • Gutenberg version: 13.7.2
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? No, Geologist.

Device information

  • Device: iPhone SE
  • Operating system: iOS 15.6
  • WordPress app version: 20.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Mobile App - i.e. Android or iOSNative mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)[Block] ParagraphAffects the Paragraph Block[Feature] ColorsColor management[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions