Skip to content

[Bug] Wrong caret moving and block merging when there are spaces at block edge #1382

@hata6502

Description

@hata6502

Wrong caret moving and block merging when there are spaces at block edge.

Steps to reproduce:
Please see GIF animations.

Expected behavior:
Don't ignore spaces at block edge when caret moving and block merging.

Screenshots:

  • Wrong caret moving in right direction
    ezgif com-gif-maker (4)

  • Wrong caret moving in left direction
    ezgif com-gif-maker (5)

  • Wrong block merging
    ezgif com-gif-maker (6)

Device, Browser, OS: PC, Chrome, Ubuntu 20.04

Editor.js version: 2.19.0

Plugins you use with their versions: none

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions