Page MenuHomePhabricator

Bold/Italic buttons don't work as expected when multiple words selected
Open, Needs TriagePublicBUG REPORT


Steps to replicate the issue (include links if applicable):

  • Select multiple words by holding Ctrl and double-clicking several words to select them
  • Click the Bold or Italic formatting button

What happens?:
Only the last word gets the Bold/Italic formatting applied to it. The others words get deleted.

What should have happened instead?:
All selected words should get Bold/Italic formatting applied to them.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

@Vuccala Sorry, I am unable to watch the video. May I know how you can have multiple selections at a time?

@Bhsd By holding Ctrl on your keyboard while using the mouse to select multiple pieces of text.

@Vuccala I guess you are using Firefox? This feature seems irrelevant for other browsers.

Yes, this is a known issue, because the textSelection plugin we use doesn't support that, because it is from a time before multiple selections were supported in browsers.