What’s new in Gutenberg? (14th March)

2.4 π


Continues the work done in previous releases around balancing writing flow with the ability to easily insert non-text blocks.

Writing Flow

Strengthened, tweaked, and polished underlying mechanisms for handling the writing flow in order to provide more stability and consolidation.

  • Move isTyping behaviour to a separate component.
  • Inserting a block should only shift focus to a text field, otherwise focusing the block's "focus stop".
    • Example: Inserting an image should focus the top-level placeholder.
  • Pressing backspace or enter from the block's focus stop should respectively delete or insert a subsequent paragraph block.
    • Example: Pressing enter or delete on an image placeholder.
  • Pressing down arrow from a non-text-field should proceed with a tab transition as expected.
  • Multi-selection at the last text field in a block now accounts for non-contenteditable text fields.
  • Better internal identification of text fields for writing flow transitions. Previously, if a block contained a checkbox, radio, or other non-text input tags, they would be erroneously included in the writing flow sequence.
  • Inserting paragraph block (quote, etc; those with text fields) via autocomplete should move focus to the cursor.
  • Shift-arrow from a text field engages multi-selection, but not if there are other text fields in the intended direction in the same block.
  • Cancel isTyping state when focusing non text field.
  • Improve reliability of the block click-to-clear behavior.
  • When clicking below the editor move focus to last text field — this includes creating a new provisional block if last block is not text. This is equivalent to the default block appender spanning the entire viewport height of the editable canvas.
  • Introduce same undo buffering for general text to the post title (and other post properties).
  • Allow breaking out of List block upon Enter on last empty line.
  • Address conflicts between WritingFlow's selection transitioning and nested blocks by moving selection to the block's focus handler.

Other Changes