anyproto / anytype-ts

Official Anytype client for MacOS, Linux, and Windows
https://anytype.io
Other
4.01k stars 243 forks source link

Making a link makes all future text a link as well #640

Closed Crims-on closed 1 month ago

Crims-on commented 5 months ago

Have you read a contributing guide?

Current Behavior

Right now when you decide to insert a link using ctrl+k or pressing the link button all the future text, except after new line, ends up being a link as well. This behavior is really annoying and the link can't be quickly stopped through just pressing ctrl+k again, you have to instead select all the text you don't want linked and then do it. Just makes typing a lot more annoying. The same behaviour happens with code as well

image

Expected Behavior

Link either cancels after two spaces or bind a new keybind that allows toggling links, and don't forget code as well

Steps To Reproduce

  1. Type text
  2. Select text and make in to link
  3. Keep typing
  4. Still linked

Environment

- OS: Win 11
- Version: 0.39.0

Anything else?

No response

ra3orblade commented 1 month ago

This is fixed in current main/latest alpha/beta builds.