Automattic / simplenote-electron

Simplenote for Web, Windows, and Linux
https://app.simplenote.com
GNU General Public License v2.0
4.69k stars 553 forks source link

Using internal links will delete preceding white space. #3172

Closed adamjohndaly closed 2 months ago

adamjohndaly commented 6 months ago

I can reproduce this issue on Simplenote web.

Suppose I open a note in simplenote, and I write “Weekly Journal”, and I want to add an internal link to the right: “Weekly Journal Monday

Once I create that link, it suddenly eats a whitespace to the left: “Weekly JournalMonday

I then manually have to go back and re-add the whitespace. This is on Simplenote for Web. Wondering if this is reproduceable and hopefully fixable?

Expected

White space between the text and the link is not deleted.

Observed

The whitespace is removed.

Reproduced

  1. Use app.simplenote.com
  2. Type text and then spacebar
  3. Use an opening bracket [ and then select another note
  4. Note that the space between the text and the link is removed.
Screenshot 2023-12-19 at 4 03 54 PM

Where did you see the bug

codebykat commented 2 months ago

Probably duplicate of #2771