StackExchange / StackExchange/Stacks-Editor

Images not showing focus ring / selected state when part of a text selection

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug mode - rich text
Dominant language
TypeScript
Stars
437
Forks
61
Avg merge
16h 2m
Merged PRs (30d)
8

Description

Reported on Meta.SE

Describe the bug

Images aren’t shown as selected, e.g. in the following I selected from “Google Document” to “blah” and the image wasn’t shown as selected (tested on Chrome with native dark mode+Windows):

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported selection behavior in the editor on Chrome with native dark mode on Windows, using the linked Meta.SE example as the reference. Done means an image visibly shows its selected state or focus ring when included in a text selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.