Skip to content

wrong unit-test in slate-history #5825

Closed
@Guan-Erjia

Description

@Guan-Erjia

Problem
packages/slate-history/test/undo/delete_backward/block-text.tsx

It seems should be

export const run = editor => {
   Transforms.delete(editor, {reverse: true});
}

rather than

export const run = editor => {
  Transforms.delete(editor)
}

add reverse option, and it could pass

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions