Skip to content

Writing Flow: Can't forward delete from empty paragraph #8731

Closed

Description

@aduth

To Reproduce

  1. Navigate to Posts > Add New
  2. Click writing prompt
  3. Press Enter
  4. Press ArrowUp
  5. Press Delete (Control + Delete on Mac) for forward deletion
  6. Observe nothing happens

Expected behavior

The next paragraph should collapse into the current.

Activity

  1. added
    [Type] Bug
    [Feature] Writing Flow
    on Aug 8, 2018
  2. self-assigned this
    on Aug 8, 2018
  3. aduth commented on Aug 8, 2018

    @aduth
    MemberAuthor

    I think this is technically a regression of #8461, itself a fix of #8388.

    The logic for detecting whether the horizontal edge has been reached will now consider TinyMCE's bogus br nodes and incorrectly return false, even when there is no other content in the RichText field.

  4. changed the title [-]Writing Flow: Can't forward delete from empty block[/-] [+]Writing Flow: Can't forward delete from empty paragraph[/+] on Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Feature] Writing Flow[Type] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions