Wired behavior when press arrow down/up in paragraph


How to tune the cursor move down to next line instead jumping from first line of paragraph to the block node directly.

  1. place the cursor in between the first line of the first paragraph.
  2. press arrow down
  3. cursor jumped to the next block node instead the next line.

--------------------------------------------------------------------- example

This editor has been wired up to render code blocks as instances of the CodeMirror code editor, which provides syntax highlighting, auto-indentation, and similar.

{{ block node }}

The content of the code editor is kept in sync with the content of the code block in the rich text editor, so that it is as if you’re directly editing the outer document, using a more convenient interface.

That was a bug in endOfTextblock. This patch should help.

that’s great. will try that out.