hackmd-io-issues icon indicating copy to clipboard operation
hackmd-io-issues copied to clipboard

Cannot using toolbox to decorate text when multiple selecting texts

Open LeeLin2602 opened this issue 2 years ago • 0 comments

Is this a hackmd.io issue?

  • [x] Yes, the bug happens on https://hackmd.io

What's the problem

When selecting multiple texts like this

abc skip this line cdf

and use the toolbox above to mark text as bold, it turned out like this

abc cdf skip this line abc cdf

Current behaviour

Screenshot (optional)

image image

Provide steps to reproduce:

  1. Selecting multiple texts with pressing CTRL key
  2. Click on bold in the toolbox

Expected behaviour

Only the two sections become bold

Environment

I use HackMD on:

Desktop

  • OS: Windows10
  • Browser: Brave
  • Browser Version: 1.36.116 Chromium: 99.0.4844.74 (正式版本) (64 位元)

This is not critical, but if you fix this, I would be happy. Thanks.

LeeLin2602 avatar Mar 20 '22 20:03 LeeLin2602