Pressing tab in code block jumps to next line instead of indenting

Describe the bug
When pressing keys in a specific order, tab doesnt indent in code block, but jumps to the next line.

To Reproduce
Steps to reproduce the behavior:

  1. Create Code block
  2. Write “someTextA”
  3. Press Enter
  4. Write “someTextB”
  5. Place cursor behing “someTextA”
  6. Press tab (normal behaviour is showing)
  7. Press backspace to delete the tab
  8. Press tab again (cursor goes to the beginning of the next line)

Expected behavior
Pressing tab not going to the next line.

System Information:

  • OS: Linux
  • Anytype Version: 0.23.5

Seems to be fixed in the current releases.