Gutenberg: Blocks: Arrow up from quote citation empty newline skips to quoted text

Created on 1 May 2018  路  2Comments  路  Source: WordPress/gutenberg

Issue Overview

When a quote block citation includes line breaks, attempting to press Arrow Up from any of a blank new line of the citation will result in the caret being moved to the quoted text, rather than the line preceding it.

Steps to Reproduce (for bugs)

  1. Insert quote block
  2. Enter some text
  3. Arrow Down into citation field
  4. Insert a line of text
  5. Press Enter
  6. Press Arrow Up

Expected Behavior

Caret is moved to moved to the first line of the citation.

Current Behavior

Caret jumps to quoted text.

Possible Solution

Likely something going on with edge detection in WritingFlow.

Video

caret-quote

[Feature] Blocks [Feature] Writing Flow [Type] Bug

Most helpful comment

All 2 comments

I'm having trouble repeating the original steps here, due to as best I can tell a bug in TinyMCE, reported at https://github.com/tinymce/tinymce/issues/4488.

Was this page helpful?
0 / 5 - 0 ratings