Skip to content

Cannot reach first line of code block #1460

@fxha

Description

@fxha

Description

I cannot longer reach the first line of a code block when pressing Enter.

  • Can you reproduce the issue?

Steps to reproduce

  1. Paste example below in preview mode (Ctrl+Shift+V)
  2. Set cursor before first character (index = 0)
  3. Press Enter, followed by ArrowKey-Up
```cpp
int i = 0;
```

Expected behavior:

Cursor should jump to the first line.

Actual behavior:

Cursor jumps to the language identifier and when you click on the empty first line with the cursor, the cursor jumps to the second line.

Link to an example: [optional]

mt_code_bloc_first_line

Versions

  • Mark Text: develop
  • Operating system: all

Metadata

Metadata

Assignees

No one assigned

    Labels

    :octocat: code blockissues about code block🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions