Markdown keyboard shortcuts do not work if text is not selected

Describe the bug

Keyboard shortcuts like Ctrl + B do not work unless text has already been selected.

To Reproduce

  1. Make a text block;
  2. Without typing anything in yet, toggle in bold or italic using Ctrl + B or Ctrl + I, respectively;
  3. Type anything, expecting the command to work;
  4. See the error (text remains plain)

Expected behavior

I expected the text to follow previous keyboard commands like in common word processors and other productivity apps.

System Information:

  • OS: Windows 10
  • Anytype Version: 0.23.5

Additional context

I usually know when something’s bold or in italics when I write notes, so I find this to break my concentration when typing. It’s nothing major, although I would like this fixed so I put it here.

2 Likes

Hey, do you mean the same as here?

Oh, yes! Thanks, I didn’t search of it that way. That makes more sense; I thought it was a bug specific to the current version.

@Sacredial thank you for your report, we haven’t implemented yet, but we plan to do it in the future

2 Likes

I will close this in favor of the linked feature request.

This topic was automatically closed after 7 days. New replies are no longer allowed.