Skip to content

Tapping Enter in citations to split block also adds a new line #2498

@mchowning

Description

@mchowning

Describe the bug
On Android only, when tapping enter at the end of a quote or pullquote block citation to split the block, the block is split, but a new empty line is also added to the citation. No new line should be added.

To Reproduce
Steps to reproduce the behavior:

  1. Add a Quote block
  2. Add some text to the citation
  3. Tap Enter
  4. Observe that a new paragraph block has been created
  5. Observe that the quote block's citation now has a second line (i.e., there is a <br> in the html).

Expected behavior
Tapping Enter within a citation should split the block without adding a new line to the citation.

Screenshots
citation_newline mp4

Smartphone (please complete the following information):

  • Device: Pixel 1
  • OS: Android X
  • Version 15.2.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions